&& means to only execute the second/third/etc. command if the previous one 
completed succesfully.
the echo is probably just toadd a blank line to make the output of this 
easier to read. 

Paul Kraus writes: 

> What does && represent? 
> 
> Here is the command that I saw it in.
> watch -n 1 "/hylafax/etc/errorstats.sh /hylafax/etc/xferfaxlog &&
> faxstat -asl && echo && tail /var/log/messages" 
> 
> Also why is the echo necessary. 
> 
> Cross Posted due to relevancy. 
> 
> 
> Paul Kraus
> Network Administrator
> PEL Supply Company
> 216.267.5775 Voice
> 216-267-6176 Fax
> www.pelsupply.com 
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
> the body of a message to [EMAIL PROTECTED]
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.linux-learn.org/faqs
 
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

Reply via email to