Operating Systems & Administration
[Day 4] 5. Steps for VIM
D
DITISS Admin- Open the Terminal.
- 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
-
- Enter Insert Mode:
- Press to enter insert/edit mode.
i
- Press
- Write Code/Text:
- You can now type your code or text.
- Save and Exit:
- Press to exit insert mode.
Esc - Type to enter command mode, then type
:and press Enter:wqEsc :wq Enter - This will save the file and exit .
vim
- Press
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...