19

Tip #6  

Use || to run a second command if and only if a first command fails:

cd /tmp/a/b || mkdir -p /tmp/a/b

 
  • TAGS: