This looks like school homework, so I wouldn’t feel anything but guilty if I gave you the answers. The pipe allows you to "pipe", or add commands to another command. For instance, using the command grep to find the process httpd.
# ps ax | grep httpd
For your exercises, you might try reading the man pages for grep, and wc.


Reply With Quote


Bookmarks