Running a cd command after user input in bash script will not change directory
15978
Why can't I change directories using "cd" in a script?
73036
How do I run a command?
82693
How to test if a file is a directory in a batch script?
128448
What prevents a CD-R from being rewritten?
109076
shell scripting and running after switching to other user
78479
How do I run a command before or after every command written in the console?
36299
How to echo shell commands as they are executed
154400
cd in bash script without alias, function, source
152004
Is it possible to override the command line's built in "cd" command?
98810
How do I cd into a directory using perl?
54336
Is there a one-liner that allows me to create a directory and move into it at the same time?
62241
How do I set a variable to the output of a command in Bash?
42078
How can I undo the last cd command?
15018
How to quickly cd to a command's directory after used the 'which' or 'type'
102705
How to enter a directory with the 'cd' command if it has 700 permission and is not owned by me?
37703
How can I check if a directory exists in a Bash shell script?
70899
BASH script to set environment variables not working