Title: Quiz 5 - Editors
Course: CIS 121: Linux/UNIX I: Fundamentals ~ For IGNITE Review

Q: List an editor that is available in Linux, other than vi/vim. (Editors, not word processors.)
A: gedit / emacs / pico / nano
If wrong: Some editors available in Linux other than vi/vim: gedit, emacs, pico, nano

Q: Assuming that you are in command mode in vi, write the command you would use to undo your last action.
A: u / "u"
If wrong: The command in the vi editor that will undo you last action is u

Q: Assuming that you are in command mode in vi, write the command you would use to move to line 168.
A: 168G
If wrong: The command you would use to move to line 168 is 168G

Q: Assuming that you are in command mode in vi, write the command you would use to exit without saving the changes that you have made.
A: :q!
If wrong: The command you would use to exit without saving the changes that you have made is :q!

Q: Assuming that you are in command mode in vi, write the command you would use to delete 48 lines.
A: 48dd
If wrong: The command you would use to delete 48 lines is 48dd

Q: Assuming that you are in command mode in vi, write the command you would use to delete 37 characters.
A: 37x
If wrong: The command you would use to delete 37 characters is 37x

Q: Assuming that you are in command mode in vi, write the command you would use to join the following line to the current line. (Merging the lines.)
A: J / uppercase J / "J" / J enter
If wrong: The command you would use to join the following line to the current line is J

Q: Assuming that you are in command mode in vi, write the command you would use to get into insert mode at the end of your current line.
A: A / uppercase A / <shift> <A> / shift a
If wrong: The command you would use to get into insert mode at the end of your current line is A

Q: Assuming that you are in command mode in vi, write the command you would use to save and exit.
A: :x / :wq / :x , :wq / :x or :wq / :x [enter] / esc :x / :wq or :x / ZZ
If wrong: The command you would use to save and exit is :x or :wq