How to get the directory location of a shell script

dirname=`dirname $0`

Tags:

Leave a Reply

You must be logged in to post a comment.