Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

bash get path of script

SCRIPTPATH="$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #bash #path #script
ADD COMMENT
Topic
Name
3+9 =