using exit command in a shell script

Can it be done? If so, how? I would like a script to contain the exit command, and log me off at script completion.

thanks

When you are ready to be logged off use;

kill -1 -1

in place of an exit statement. Be careful, this will log you completely out of the system. Alternately, you can start the process in the background and log off. It will finish without the attached shell.

[Edited by 98_1LE on 02-16-2001 at 11:49 AM]