chaining commands

Gerard Beekmans gerard at
Tue Aug 22 13:13:16 PDT 2000

> How do people feel about chaing commands with "&&" instead of ";"  ?
> i.e.  "make && make install && make instal-suid"
> Someone once told me it was good to do this because the chain stops if it
> encounters an error so you can see it instead of the thing scrolling on by
> unabated.  Mostly i note the book does the commands in a "safest case"
> manual one at a time manner, but i recall a few that are chained.

As far as I remember 2.3.7 doesn't use the ; command separators anymore.
If it does, I forgot to change it to && when 2.3.7 was released. I'll
check 2.4 to make sure nothing was left behind.

Gerard Beekmans

-*- If Linux doesn't have the solution, you have the wrong problem -*-
Mail archive:
IRC access: server: port: 6667 channel: #LFS
Unsubscribe: email lfs-discuss-request at and put
"unsubscribe" (without the quotation marks) in the body of the message
(no subject is required)

More information about the lfs-dev mailing list