NEXT UP previous
Next: Answers

Exercises

One of the objectives of this set of exercises is to get you used to looking things up in the system manual pages. Don't worry therefore if you cannot immediately see the solution to a particular exercise, just look in the appropriate manual pages (use man command)and you should find the extra information you need. Write and test command pipelines to perform each of the following functions:

  1. Display the number of different login names currently available on your system.

  2. How many processes are there on your system at this time?

What functions do each of the following pipelines perform..



  1. df -a | wc -l

  2. who | wc -l

NEXT UP previous
Next: Answers