|
How do you logout from a session?
Hello all -
I'm finishing up a script that I wrote.
This is what I did:
I added some lines to the .bash_profile that will call my startup script:
cd $HOME/startup
./startup.scr
This startup script will create some directories, move some files, and then startup an application:
cd $HOME/applications
./move_some_files
./start_application
This is where I need some help:
Under Redhat Linux how do I kill the session and log the user out and display the login screen from my script?
Thanks!
|