query: How to check that a parameter was supplied to a bash script
positive_passages.docid: 158033
positive_passages.text: Check existence of input argument in a Bash shell script
negative_passages.docid: 43775
negative_passages.text: Checking the success of a command in a bash `if [ .. ]` statement
negative_passages.docid: 18316
negative_passages.text: Security implications of forgetting to quote a variable in bash/POSIX shells
negative_passages.docid: 54313
negative_passages.text: What is $() in a command?
negative_passages.docid: 158565
negative_passages.text: Determine if a function exists in bash
negative_passages.docid: 126877
negative_passages.text: Creating bash scripts that take arguments
negative_passages.docid: 2939
negative_passages.text: How do I parse command line arguments in Bash?
negative_passages.docid: 91340
negative_passages.text: Testing if a variable is empty in a shell script
negative_passages.docid: 7431
negative_passages.text: How does ${!#} work in bash to get the last command-line argument?
negative_passages.docid: 103354
negative_passages.text: How do I test if an item is in a bash array?
negative_passages.docid: 41031
negative_passages.text: Get directory from which script was called from
negative_passages.docid: 144952
negative_passages.text: How to make sure only one instance of a bash script runs?
negative_passages.docid: 29193
negative_passages.text: Pass command line arguments to bash script
negative_passages.docid: 130042
negative_passages.text: How to pass argument to script which is input to bash
negative_passages.docid: 153428
negative_passages.text: Bash script: check if a file is a text file
negative_passages.docid: 129525
negative_passages.text: How to pass variables from bash script to AppleScript
negative_passages.docid: 65449
negative_passages.text: How to get the pid of the last executed command in shell script?