bash change directory code example
Example 1: bash change to script directory
cd "$(dirname "${BASH_SOURCE[0]}")"
Example 2: change directory in linux
cd <folder name u want to move>
ex => cd Documents/python/
Example 3: cd git bash
cd /c/project/
Example 4: bash script change directory run a command
cd "$1" && shift && "$@"
Example 5: bash script change directory run a command
cd DIRECTORY_HERE; COMMAND_WITH_ARGS_HERE
Example 6: terminal change directory
cd folder_name/subfolder_name
cd ..
cd -
cd