Short way to run command if variable is set
58433
What's a concise way to check that environment variables are set in a Unix shell script?
137660
Avoid running the script if a variable is not defined
56072
How do I compare two string variables in an 'if' statement in Bash?
94622
How does one extract a command's exit status into a variable?
82202
Execute string with variables as command
104923
How to create a new command for parameters?
144704
How to conditionally do something if a command succeeded or failed
134953
Is it possible to run commands from spotlight?
152938
How can I run a command if one or more conditions in /execute are satisfied?
61757
Does `at` run a command later if the computer is off at the specified time?
130165
Assigning default values to shell variables with a single command in bash
135008
Using shell variables for command options
54750
How do I assign the output of a command to a variable?
30599
How to set Command Block(s) to test for a particular time and output a message?
15296
How can I assign the output of a command to a shell variable?
91340
Testing if a variable is empty in a shell script
62241
How do I set a variable to the output of a command in Bash?