On Thu, Sep 14, 2000 at 10:55:17AM -0700, Stephen King wrote:
> What is the echo command that returns a 0 if the previous command ran
> correctly?

echo $?

But I find it more useful to use other constructs...

program_foo && echo "It ran fine"

-- 
Steve Borho                       Voice:  314-439-8342
Member of Technical Staff
Celox Networks Inc                http://www.ietf.org/rfc/rfc1925.txt



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to