How do I run a command only after previous command is unsuccessful in bash?
832
What are the shell's control and redirection operators?
79347
Is it possible to save output from a command to a file after the command already has been executed?
113552
Process all arguments except the first one (in a bash script)
103771
How to abort a stuck command in ubuntu server?
126530
How to pipe output from one process to another but only execute if the first has output?
43775
Checking the success of a command in a bash `if [ .. ]` statement
148665
Combine the output of two commands in bash
143571
Nonblocking bash commands?
94622
How does one extract a command's exit status into a variable?
144704
How to conditionally do something if a command succeeded or failed
136267
Pipe the output of a command if it is successful
103844
Bash: wait for a fix number of process
151142
How to change the output of a command if it has been called already?
12795
Getting "ensure" / "finally" functionality in a shell command (not script)?
62241
How do I set a variable to the output of a command in Bash?
157283
How to keep Bash running after command execution?
82820
How to make a pipeline wait for end-of-file or stop after an error?