My bash script is written to go to each subfolder in the current directory: When I run my bash script, I am getting a cd error for a directory that exists: Yet, in terminal command line I can do cd ‘Zelkova serrata’ within the same directory as the script and all is fine. Is it possible the bash script has
Tag: cd
Why does “cd -” behave as it does?
What does cd – exactly do ? ( the change directory command, plus a dash ) I noticed that if I run it in my /home/user folder repeatedly it outputs either /home/user or /home, this changes if I run it from a different folder. Answer pop the last directory you were from the stack of directory. It’s like hitting “back”