Why isn't the cd command working in my shell script?
15978
Why can't I change directories using "cd" in a script?
158354
Why do I have to cd out of a deleted directory?
6883
Script to change current directory (cd, pwd)
102498
Commands not working
52340
"-bash: ls: command not found"
156416
Ubuntu 17.04 — bash: cd: too many arguments
15667
How can I pass a command line argument into a shell script?
105856
Output of which command used for input to cd
139670
Why won't this command work?
90881
What to use when the "ls" command doesn't work?
116624
How to make `cd dir/filename` take me to dir/?
85107
cd into all directories, execute command on files in that directory, and return to previous current directory
110154
Why doesn't `sudo cd /var/named` work?
18355
How can I eject a CD via the cmd?
135264
Bash can't run command from script: mkdir command not found
147293
How to cd into a directory with space in the name?
123473
"command not found" when running a shell script. What did I break?