DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SHELL
bash script cd into script dir
cd -P -- "$(dirname -- "${BASH_SOURCE[0]}")"
PREVIOUS
NEXT
Tagged:
#bash
#script
#cd
#script
#dir
ADD COMMENT
Topic
COMMENT
Name
5+7 =
Submit