The 1st Annual comp.unix.shell quiz.

Mike Faber sleepy at wybbs.mi.org
Wed Dec 19 03:13:35 AEST 1990


Using bourne shell and standard Unix :-) commands, list all processes 
associated with uucp (containing uu if you will) in -f format without
listing the ps process that is running, and using only 1 form of the grep
(egrep, fgrep, etc) command. i.e.:

ps -ef |grep "uu"                  is wrong, list ps process.
ps -ef |grep "uu" | grep -v ps     us wrong, uses 2 grep processes.

No, it's not hard.

Send mail, I'll post correct answers later.

--
Michael Faber
sleepy at wybbs.uucp



More information about the Comp.unix.shell mailing list