On Wed, 8 Oct 2014, Duane Hill wrote:

No. && is a way of chaining commands together.

...where the second command is only executed if the first command exited with a zero status. && stops on failure.

try:

    true && echo "was true"
    false && echo "was false"

If you want it to execute the subsequent command regardless of exit status of the first command, use a plain ;

</pedant>

--
 John Hardin KA7OHZ                    http://www.impsec.org/~jhardin/
 jhar...@impsec.org    FALaholic #11174     pgpk -a jhar...@impsec.org
 key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C  AF76 D822 E6E6 B873 2E79
-----------------------------------------------------------------------
  Rights can only ever be individual, which means that you cannot
  gain a right by joining a mob, no matter how shiny the issued
  badges are, or how many of your neighbors are part of it.  -- Marko
-----------------------------------------------------------------------
 860 days since the first successful private support mission to ISS (SpaceX)

Reply via email to