Answers for "bash script to change directory"

2

bash change to script directory

cd "$(dirname "${BASH_SOURCE[0]}")"
Posted by: Guest on September-28-2020
0

bash script change directory run a command

#!/bin/sh
cd "$1" && shift && "$@"
Posted by: Guest on April-24-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language