I. Multiple Choice
DIRECTIONS: Save this document on your local machine. Use the blue-bordered box for your answers - for each question, type the answer you have selected into that box.
1. Pressing which of these keys will take you TO command mode FROM edit mode in vi?
a. q c. ESC
b. CTRL-x d. :wq
2. Which of these command options will cause the ls command to highlight its results with color?
a. -h c. -c
b. --highlight d. --color
3. Which of these commands will allow you to look for a keyword within files?
a. grep c. apropos
b. search d. find
4. Which of these commands will allow you to execute a single command with administrator privileges?
a. admin c. chuser
b. root d. sudo
II. Short Answer
DIRECTIONS: Type the answer to each question in the blue box associated with it.
5. Write a command which will move a file named boreworms.txt from a directory named Work to a directory named Archive. Both directories are sub-directories of your current working directory.
6. Write a command which will display information about the apropos command.
7. Write a command which will display the last seven lines of a file named boreworms.txt.
8. Write a command which will create a new user with the name lizardman.