query: one simple little "cd" doesn't work in script
positive_passages.docid: 154400
positive_passages.text: cd in bash script without alias, function, source
negative_passages.docid: 47181
negative_passages.text: What is the difference between ./script and . ./script?
negative_passages.docid: 81452
negative_passages.text: Can I create a new script and chmod it in one command?
negative_passages.docid: 116899
negative_passages.text: Bash script to replace two steps: cd ./some_dir, ls -al?
negative_passages.docid: 5352
negative_passages.text: How do I run .sh scripts?
negative_passages.docid: 38872
negative_passages.text: cd.. and cd- commands not found - how do I use the cd command?
negative_passages.docid: 6883
negative_passages.text: Script to change current directory (cd, pwd)
negative_passages.docid: 105856
negative_passages.text: Output of which command used for input to cd
negative_passages.docid: 144209
negative_passages.text: tikzcd doesn’t work in custom environment
negative_passages.docid: 22136
negative_passages.text: How can I protect parentheses passed to a cd command?
negative_passages.docid: 26359
negative_passages.text: shopt works in command line, not found when run in a script
negative_passages.docid: 6538
negative_passages.text: How do you properly determine the current script directory?
negative_passages.docid: 73626
negative_passages.text: Why wouldn't the `which` command work for `cd`? I can't find the executable for `cd` either!
negative_passages.docid: 385
negative_passages.text: Wrong working directory, if bash script is opened via double-click
negative_passages.docid: 57696
negative_passages.text: Can scripts run even when they are not set as executable?
negative_passages.docid: 10945
negative_passages.text: What is the point of the `cd` external command?
negative_passages.docid: 118520
negative_passages.text: How do I redirect output to cd?