Search
 
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
Name
5+8 =