O'Reilly logo

A Practical Guide to Red Hat® Linux® 8 by Mark G. Sobell

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Exercises

1.Assume that you are working with the following history list:
37 pine alex
38 cd /home/jenny/correspondence/business/cheese_co
39 less letter.0321
40 vi letter.0321
41 cp letter.0321 letter.0325
42 grep hansen letter.0325
43 vi letter.0325
44 lp letter*
45 cd ../milk_co
46 pwd
47 vi wilson.0321 wilson.0329

Using the history mechanism, give commands to

  1. Send mail to Alex.

  2. Use vi to edit a file named wilson.0329.

  3. Send wilson.0329 to the printer.

  4. Send both wilson.0321 and wilson.0329 to the printer.

2.How can you identify all the aliases currently in effect? Write an alias named homedots that lists the names (only) of all invisible files in your home directory.
3.How can you prevent a command from sending output to the terminal when you ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required