Bash ShellHow to Find Script file name in a Bash ScriptBy RahulDecember 2, 2014Command SNAME=$(basename “$(test -L “$0” && readlink “$0” || echo “$0″)”) While running a bash script using Linux terminal the…