/exit-if-bash-script-already-running

Check whether bash script is running. Exit if the script is running.

Primary LanguageShell

Check whether a bash script is running or not

    $ ./script.sh