Return to Snippet

Revision: 43407
at March 23, 2011 11:49 by vikiyou


Initial Code
readlink -f /proc/$$/exe | grep -q bash || {
    echo >&2 "You must run $0 with bash!"
    exit 2
}

Initial URL


Initial Description
Check the shell run script if is bash.

Initial Title
Check run shell is bash on Linux

Initial Tags
Bash, linux

Initial Language
Bash