Linux CLI - Viewing and Editing Files
You want to quickly add the line "# TODO" at the start of a file in Vim, save, and quit. Which sequence of keys and commands is correct?
I (capital i) enters insert mode at the start of the current line.Esc to exit insert mode, then :wq to save and quit.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions