News for hackers. Stuff that matters.
Re:Pipe Logic – Simulating circuits in the Unix shell (2011) by arca_vorago on Saturday September 30, 2017 @08:38AM (#15372594)
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#Conditi...

There are no comments on this comment yet.