terminal
Welcome to Linux Practice Terminal!
Type "help" to see available commands.
user@linux:~$
Introduction to Vim
Learn how to open, navigate, and exit the Vim text editor.
Step 1
First, create a practice file to work with.
Type: echo 'Hello World' > practice.txt
echo 'Hello World' > practice.txt
Step 2
Open the file with vim. Inside vim, press Esc then type :q and press Enter to quit without changes.
Step 3
Verify the file is unchanged after quitting vim.
Step 4
Open the file again. This time, press i to enter INSERT mode, add some text, then press Esc and type :wq to save and quit.
Step 5
Check if your changes were saved.