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.What does the shell ordinarily do while a command is executing? What should you do if you do not want to wait for a command to finish before running another command?
2.Using sort as a filter, rewrite the following sequence of commands:
$ sort list > temp 
$ lpr temp
$ rm temp
								
3.What is a PID number? Why are they useful when you run processes in the background?
4.Assume that the following files are in the working directory:
$ ls 
intro      notesb     ref2       section1   section3   section4b
notesa     ref1       ref3       section2   section4a  sentrev

Give commands for each of the following, using wildcards to express filenames with as few characters as possible.

  1. List all files that begin with section.

  2. List the section1, section2, and section3 files only.

  3. List the

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