The Workshop is designed to help you anticipate possible questions, review what you've learned, and begin learning how to put your knowledge into practice.
Quiz
1:
How do you save the file that you're working on in vi? In emacs?
2:
What keystroke opens the menu in emacs when you're working at a virtual console?
3:
How would you output a list of currently running emacs jobs? (Hint: Use a pipe and a command learned in Chapter 19, "Performing Basic Shell Tasks.")
Answers
A1:
In vi, press Esc. Then, when the colon (:) appears, type w and press Enter. In emacs, press Ctrl-X followed by Ctrl-Sor in emacs terms, use the keystroke C-x C-s.
A2:
Press the F10 key to open the emacs menu in a virtual console.
A3:
jobs | grep emacs
Activities
Take some time to study both the emacs and vi tutorials and to familiarize yourself with the capabilities of each.
Start a long list of jobs, suspending each of them one by one until the output of the jobs command fills the entire screen. Then exit or kill each of them one by one.