At the command line type the following:
mail <user>Press Ctrl-z
Now type:
jobs
What is the number in the square brackets?
sleep 300 jobs bg
What does bg do? What do the + and – signs indicate?
Kill the mail job using job control.
Go into the editor. Type ^Z to stop the job. Now bring the stopped vi job back into the foreground. What command did you type?
Type the following command:
jobs –l
What is the output?
What is the TMOUT variable used for?
How much time was spent by the kernel when executing the following command:
(sleep 5 ; ps –eaf )