We have a ksh script that allows a user to telnet into a server and run a cycle job. When they log on, the script runs automatically, giving the user a choice of running the job or exiting. When they select exit, the script exits leaving them in the shell so they can start perusing the server.
Is there a way from inside the script to exit completely when they select the exit option, requiring them to log back on?
Is there a way from inside the script to exit completely when they select the exit option, requiring them to log back on?