Outcome of Test 1:
93.8 (mean)
94.75 (average)
UNIX Notes

Thursday, June 18, 1998


Process Control

From the point of view of the system, a process is an entity that can run in the foreground or the background (handy for running large processes.) When a process runs in the background, the stdout and stderr are still directed to monitor but stdin isn't keyboard, which means: when the process needs input and allowances aren't made for the input, the process will die.

find

374-379, 442-443 (Primer)
2-47 to 2-50 (Lefthand)
41-42, 115-118 (Mastering the Shell)
89-102, 135-136, 216, 296 (Secrets)

find is different in that this command has conditions, not options.

Syntax:
find + where to look + condition
find . -name motd -p
means "find, looking in current dir, the filename that matches the motd pattern and print the results"

Remember that, unless specifically told (with -p), no output will be visually seen.

find .
(find in current dir)
find ..
(find in parent dir)
find /
(find in root)

To Stop a Process
[CTRL-z]
to stop (aka terminate process, not kill.)
Then, there are 3 ways to start the job:
bg %(job# or PID)
(run in background)
fg %(job# or PID)
(run in foreground)