Tag Archives: shell scripting

How to get the directory location of a shell script

dirname=`dirname $0`

Posted in Bash | Tagged | Leave a comment