I want to use exit in a script in RHEL 6.x
su - user1
This will restart my .profile
I know there are other ways of doing this, but I want to concentrate on how to use exit in a script
How can I do this ?
Thanks in advance