In a bash script, how can I go to a directory whose name is stored in a variable?
42262
Why doesn't "cd" work in a shell script?
41578
How to iterate over arguments in a Bash script
72828
Analogue of NotebookDirectory[] for scripts (to get the directory path of my script.m)?
73784
Avoid a trailing slash in bash when completing a directory name (like zsh)
34238
passing filename with spaces to a shell script
71621
recursively add directory name to file name
8641
Which are the (Bash) shell special parameters/variables?
72388
the slash (/) after a directory name on shell commands
56678
Refer to an item in `dirs`
4162
How can I get the source directory of a Bash script from within the script itself?
39507
How can I store the "find" command results as an array in Bash
138021
cd to previous directory without echo of directory name
116624
How to make `cd dir/filename` take me to dir/?
12149
How do I get the path and name of the file that is currently executing?
14616
Quick directory navigation in the bash shell
18438
Spaces in variable assignments in shell scripts
65428
Getting the parent of a directory in Bash