esc + : + w
To quit the vi editor
To save file
To save file with file name (save as)
To clear the screen
esc + : + q
To quit without saving
To save and quit vi editor
To find the next occurance of the letter 'q'
esc + : + q!
To continue with search
To copy the line where cursor is located
n
To open a new file
To insert new text
esc + ?word (Press 'escape' key, type ?word-to-find)
To replace word with a space
To search for specified word in backward direction
To search for specified word in forward direction
esc + /word (Press 'escape' key, type /word-to-find)
To continue searching
esc + yy
Search for the letter y
Save and quit the editor
Confirm quit without saving
esc + dw
To delete all occurances of the letter w
To delete word from cursor position
To delete entire line where cursor is located
To paste the text just deleted or copied at the cursor
Esc + :$s/mumbai/pune/g
To put cursor at the end of the next occurance of either Mumbai or Pune
To Find all occurrence of Mumbai and Replace with Pune with confirmation
To Find all occurrence of Mumbai and Replace with Pune without confirmation
To put cursor at the beginning of the next occurance of either Mumbai or Pune
To which operating system is GNU/Linux compatible?
Windows
Unix
it's a system on it's own
don't know