skip to content
NoBIGTech Wiki Técnico
User Tools
Log In
Site Tools
Search
Tools
Show pagesource
Old revisions
Backlinks
Recent Changes
Media Manager
Sitemap
Log In
>
Recent Changes
Media Manager
Sitemap
Trace:
•
get_script_path
docu:csheet:sysadm:script:bash:get_script_path
Get directory of the executed script in bash
Simple, straight forward:
SCRIPTPATH
=
"
$( cd "$(dirname "$0")
"
>/
dev
/
null
2
>&
1
;
pwd
-P
)
"
docu/csheet/sysadm/script/bash/get_script_path.txt
· Last modified: 2020/09/16 13:37 by
admin
Page Tools
Show pagesource
Old revisions
Backlinks
Back to top