Tuesday, August 3, 2010

Double pipe

Nice feature of double pipe "||":


$ command1 || command2


This means that command2 will be run if the command1 fails.

No comments:

Post a Comment