query: Command works at the command-line, but won't work in a shell script
positive_passages.docid: 18438
positive_passages.text: Spaces in variable assignments in shell scripts
negative_passages.docid: 6808
negative_passages.text: piped command after grep not working
negative_passages.docid: 102498
negative_passages.text: Commands not working
negative_passages.docid: 130074
negative_passages.text: How can I pass command line arguments to a script through Dash? (14.04)
negative_passages.docid: 66651
negative_passages.text: Passing arguments from a file to a bash script
negative_passages.docid: 3585
negative_passages.text: What exactly happens when a built-in command is run in a shell?
negative_passages.docid: 2712
negative_passages.text: Command not found error in Bash variable assignment
negative_passages.docid: 132222
negative_passages.text: Why does /bin/sh behave differently to /bin/bash even if one points to the other?
negative_passages.docid: 73036
negative_passages.text: How do I run a command?
negative_passages.docid: 62092
negative_passages.text: Getting "command not found" error in bash script
negative_passages.docid: 54750
negative_passages.text: How do I assign the output of a command to a variable?
negative_passages.docid: 91568
negative_passages.text: How to correctly escape command arguments from an environment variable
negative_passages.docid: 25487
negative_passages.text: How to store a command in a variable in a shell script?
negative_passages.docid: 86391
negative_passages.text: Why are non-environment variables passed to the subshell invoqued by command substitution?
negative_passages.docid: 129792
negative_passages.text: Shell script throws a not found error when run from a sh file. But if entered manually the commands work
negative_passages.docid: 76028
negative_passages.text: Why doesn't my Bash script recognize aliases?
negative_passages.docid: 85355
negative_passages.text: Why does BASH process substitution not work with some commands?