4.8 grep and regular expressions4 Labs4.6 Editor  -  vi4.7 Editor -- emacs

4.7 Editor -- emacs

emacs is a text editor. It is a large text editor. The source distribution from the FSFis about 55.5 MBytes. There are several books avaliable to help you learn it in detail. See Cameron. There are several versions of it. The FSFversion is probably the most popular version due to their liberal software licence. Do the emacs tutorial on a system with emacs. gort has emacs installed. Type emacs and follow the instructions.
username@gort ~ $ emacs
then ^H(for help) then t(for tutorial)

You may want to try the hyper-text manual pages for emacs.

username@gort ~ $ emacs
then ESC, x, and info
Additional information can be found on emacs in the info system.
username@gort ~ $ info emacs
and in the O'Reilly & Associates, Inc. book, Learning GNU Emacs.

TABER CIS137 Lab 4.7: emacs -- Print your name.





  1. What are the last 6 words in the emacs tutorial? Please make sure you give me the last 6 words at the end of the tutorial, not the last 6 words at the end of the file.




  2. What does the command "username@gort ~ $pico temp" do?




  3. What is the -k option for when used with the man command?




  4. How can you display just your entry in the /etc/passwd file? (grep)




  5. How many lines are in /etc/passwd? (use wc)




  6. What does the -F (upper case) option do for the ls command?




  7. How many options does the grep command have? (man)




  8. What is in the file /var/log/syslog? (cat, tail, head, more, less)




Write your answers on this page and turn it in.
Instructor: Louis Taber, ltaber(at)uml.lt.Tucson.AZ.us (520) 206-6850
My new web Home page in Cleveland, OH
The Pima Community College web site

4.8 grep and regular expressions4 Labs4.6 Editor  -  vi4.7 Editor -- emacs