Bash script locate self

SELF=$(cd $(dirname $0); pwd -P)/$(basename $0)

Comments

Popular posts from this blog

Vim vi how to reload a file your editing