Using 'exit' in a Bourne shell script

David Sherman dave at lsuc.uucp
Mon Feb 1 13:41:55 AEST 1988


> I would like to have my users logout via a shell script "off" rather
> than with ^d.

$ cat /usr/bin/bye
clear
echo "Bye now. A parting quote:"
/usr/games/fortune
kill -1 0
$

David Sherman
-- 
{ uunet!mnetor  pyramid!utai  decvax!utcsri  ihnp4!utzoo } !lsuc!dave



More information about the Comp.sys.att mailing list