Workshop


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

  1. Take some time to study both the emacs and vi tutorials and to familiarize yourself with the capabilities of each.

  2. 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.

  3. Start emacs and play a game of dunnet.



    SAMS Teach Yourself Red Hat(r) Fedora(tm) 4 Linux(r) All in One
    Cisco ASA and PIX Firewall Handbook
    ISBN: N/A
    EAN: 2147483647
    Year: 2006
    Pages: 311
    Authors: David Hucaby

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net