DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SHELL
run bash script in its directory
#!/bin/bash cd "$(dirname "${BASH_SOURCE[0]}")"
PREVIOUS
NEXT
Tagged:
#run
#bash
#script
#directory
ADD COMMENT
Topic
COMMENT
Name
5+8 =
Submit