3 ms·
Also don't forget && and ||, which only run the next prog on return of a zero exit status or non-zero exit status respectively. Also, ; between commands is the
by arca_vorago 9y ago
Also don't forget && and ||, which only run the next prog on return of a zero exit status or non-zero exit status respectively.
Also, ; between commands is the equivalent of running each command on a seperate line (command independent of previous command exit status).
& = run in background
; = execute sequentially
&& = AND operator
|| = OR operator
! = NOT operator
&&-|| = ANDOR operator
{} = combine command operator
() = precedence operator
=~ = regex operator
http://www.gnu.org/software/bash/manual/bashref.html#Conditional-Constructs http://www.gnu.org/software/bash/manual/bashref.html#Conditi...