Tracy Nelson on Sat, 30 Oct 1999 07:12:24 -0400 (EDT) |
tburba@GLCORPIS01.usvision.com wrote: > Is there any way that I can invoke a command within a subshell (bash) > script to log the user out? I don't want to use .bash_profile or shell > replacements. TAMIA This should work (for suitably harsh values of 'log out'): kill -9 `ps | sort -n | head -2 | tail -1 | awk '{ print $1 }'` Stick it in a shell script named "logout". _______________________________________________ Plug maillist - Plug@lists.nothinbut.net http://lists.nothinbut.net/mail/listinfo/plug
|
|