Sometime today, Mike_Bradz wrote:
once i exit from the shell script if i type exit again i get logged out, but i want to end the session once the shell script finishes executing.
Maybe you should do a "./myscript.sh; exit", or create an alias for it. Just "exit" in the script will only exit from the subshell in which the script runs.
Manish J.