Run script upon login but no ctrl C
I created a bash script script and put it in .profile so it will run upon login. My issue is user can have shell if thy do Ctrl C. I forgot how I did it on the past wherein users will not have shell.
Anyone can advise how to do it?
|