[index] [text page] [<<start] [<prev] [next>] [last>>]
Page 41: Conditionals

Page 41

  
  Conditionals
  Simple boolean command line logic
  Use && for "and"
       $ tar czvf /home/reegen/tarball.tgz .  &&  rm *
  Use || for "or"
       $ sudo apt-get update || sudo apt-get update

Copyright 2005, Bri Hatch of Onsight, Inc.

Presented at LFNW - LinuxFest Northwest, Bellingham, Washington, Apr 2005

Presentation created using vim and MagicPoint.