chaining commands

David D.W. Downey david.downey at codecastle.com
Tue Aug 22 14:44:18 PDT 2000


That's how I actually do it for the exact rason you state. It stops the
chain if there are errors as it become just one long AND statement.

David D.W. Downey
Senior Linux Administrator
QIXO -- Integrating Many Travel Web Sites Into One
(408) 514-6441
ddowney at QIXO.com
www.QIXO.com


> 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.
>
> ~Jason
>
> +------------------+
> | Jason at tommyk.com |
> +------------------+
>
> --
> Mail archive: http://www.pcrdallas.com/mail-archives/lfs-discuss
> IRC access: server: irc.linuxfromscratch.org port: 6667 channel: #LFS
> Unsubscribe: email lfs-discuss-request at linuxfromscratch.org and put
> "unsubscribe" (without the quotation marks) in the body of the message
> (no subject is required)
>

--
Mail archive: http://www.pcrdallas.com/mail-archives/lfs-discuss
IRC access: server: irc.linuxfromscratch.org port: 6667 channel: #LFS
Unsubscribe: email lfs-discuss-request at linuxfromscratch.org 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