How can I run a shell script on session end?
52511
Best way to make a shutdown hook?
118841
How can I run a script that starts before my login screen?
73857
Quick-and-dirty way to ensure only one instance of a shell script is running at a time
28288
How do I kill background processes / jobs when my shell script exits?
80773
How to run a script from terminal
145367
executing shell command in background from script
66641
how can i automatically record every terminal session?
103051
How can I keep a process alive after closing the putty session?
20385
How to run a command at login?
12086
How to run a script without closing the terminal?
128271
When ssh'ing, how can I set an environment variable on the server that changes from session to session?
70132
Is it shell portable to run a command on the same line after variable assignment?
12251
How to redirect output of an entire shell script within the script itself?
151667
How to make a bash script wait and then continue running?
23508
Script at Startup
48539
How to run a shell script on a Unix console or Mac terminal?
128526
Remotely run script on Unix, get output locally?