Bash
From Leaky
Revision as of 13:23, 1 August 2013 by
Leaky
(
talk
|
contribs
)
(Created page with ' == Find the location of a script, no matter how it's referenced when run == DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" echo $DIR')
(diff) ← Older revision |
Latest revision
(
diff
) |
Newer revision →
(
diff
)
Jump to:
navigation
,
search
Find the location of a script, no matter how it's referenced when run
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" echo $DIR
Navigation menu
Views
Page
Discussion
View source
History
Personal tools
Log in
Navigation
Main page
Recent changes
Random page
Help
Search
Tools
What links here
Related changes
Special pages
Printable version
Permanent link
Page information