#File: sol_5

1.	sleep 300&; sleep 300 &
	ps
	jobs
	sleep 300
	^Z
	jobs
	fg
	kill %<job number>

2.	If it's your login shell, you get logged out.

3.	ps -el | sort -b -n +9 
	The last one will be the largest.

	ps -ef |more
	Look in the STIME column for the one begun earliest.

        ps -el | sort -b +12
	The last one (with the exception of the header and ps command itself)
	will be the one using the most cpu time.

4.	Do a ps -f to list all of your processes.  Locate the ksh process then
	note its parent process id (PPID).  Then do a ps -ef and use grep to
	locate that PPID in the PID column.  Continue this process until you
	find the process whose parent is PID 1 (init).

5.	exec mail
	When you quit, you will be logged off since the mail program overwrote
	your login shell process.

6.	Place your user account name into the /usr/lib/cron/cron.allow file.
	echo "0,5,10,15,20,25,30,35,40,45,50,55 * * * * /sbin/who" >tmp.cron
	crontab <tmp.cron

	Yes, it works.  The output is mailed to the user.  Check it with elm.

	crontab -r
	Removes all your scheduled cron jobs.  If you left it in place, you
	would continue to get the e-mail every 5 minutes until you or root
	removed the job.
