Create a lock for a shell script
87988
Lock file and release it
25487
How to store a command in a variable in a shell script?
8056
how to obtain a lock in two places but release on one place?
111065
How to avoid race condition when using a lock-file to avoid two instances of a script running simultaneously?
113665
How do I lock the desktop screen via command line?
145367
executing shell command in background from script
9472
Detecting whether a file is locked by another process (or indeed the same process)
9870
How to set a cron job to run a shell script?
28288
How do I kill background processes / jobs when my shell script exits?
80495
How can I lock a file using java (if possible)
144952
How to make sure only one instance of a bash script runs?
77583
How do I lock the screen from a terminal?
34476
Launch a shell command with in a python script, wait for the termination and return to the script
21702
How can I handle SIGINT trap with a user prompt in shell script?
126877
Creating bash scripts that take arguments
89674
Execute shell script or command on idle time
29347
Allow setuid on shell scripts