Petr's Notes
Monday, November 19, 2012
How to find out bash script location
http://stackoverflow.com/questions/59895/can-a-bash-script-tell-what-directory-its-stored-in
DIR
=
"$( cd -P "
$
(
dirname
"${BASH_SOURCE[0]}"
)
" && pwd )"
No comments:
Post a Comment
Newer Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment