Operating Systems & Administration

[Day 4] 5. Steps for VIM

D
DITISS Admin
••1 min read
  1. Open the Terminal.
  2. Create and Open a File:
    • Run the following command:

      vim <filename>

    • This will create the file (if it doesn’t exist) and open it in

      vim
      .

  3. Enter Insert Mode:
    • Press
      i
      to enter insert/edit mode.
  4. Write Code/Text:
    • You can now type your code or text.
  5. Save and Exit:
    • Press
      Esc
      to exit insert mode.
    • Type
      :
      to enter command mode, then type
      wq
      and press Enter:
      Esc :wq Enter
    • This will save the file and exit
      vim
      .

Read Next

8/26/2026

[Day 5] 1. Commands

#### 1. `uname` Command - **Purpose**: Displays information about the system. - **Usage**: - `uname`: Shows the name of the opera...

8/26/2026

[Day 5] 2. VI Editor

### VI Editor Overview **VIM** stands for **VI IMproved**, an enhanced version of the **VI** text editor. It's a powerful CLI (Command Line Interfa...