[mdlug] Difference between ; and &&
Mat Enders
mat.enders at gmail.com
Wed May 9 08:12:13 EDT 2012
Hello all,
When stringing commands together at the command line I always use the
semicolon ; I however see && used frequently and was wondering what
the difference was.
For example what is the difference between these commands:
apt-get update;apt-get dist-upgrade
and
apt-get update && apt-get dist-upgrade
--
Mathew E. Enders
"Where once Samba and Apache sold Linux to the world they are now just
part of the plumbing. But that's OK, plumbers make good money."
--Jeremy Allison
More information about the mdlug
mailing list