Bash script locate base dir

BASEDIR=$(cd $(dirname $0); cd ../ ;  pwd -P)

Comments

Popular posts from this blog

Vim vi how to reload a file your editing