0 thoughts on “The Linux Baby Rocker

  1. Looks like someone’s never heard of the commands true and false, which do the obvious thing for shell programming.

    I.e.,

    while true

    instead of

    while [ 1 = 1 ]
  2. Looks like someone’s never heard of the commands true and false, which do the obvious thing for shell programming.

    It’s better to use a colon instead, to save the shell a fork:

     while :; do # bunch of stuff 

    </shellgeek>

Leave a Reply

Your email address will not be published.