Tag Archives: shell scripting

How to get the directory location of a shell script

dirname=`dirname $0`

Tagged | Leave a comment