Monday, November 19, 2012

How to find out bash script location


DIR="$( cd -P "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"

No comments:

Post a Comment