Re: Make "exp" be quiet

From: codadilupo <>
Date: Tue, 26 Feb 2008 09:18:06 +0100
Message-ID: <47c3cb3e$0$21204$>

Michael Schmarck wrote:

> exp ${ora_user}/${ora_pass} FILE=/tmp/test.exp LOG=/tmp/test.exp.log \
> But despite the "> /dev/null", exp writes something on the terminal.

That's because exp writes messages on standard error, not on the standard input.


exp ${ora_user}/${ora_pass} FILE=/tmp/test.exp LOG=/tmp/test.exp.log \   DIRECT=Y FULL=Y STATISTICS=NONE 2>/dev/null

> How can I make "exp" shut up and only "say" something, when there's
> an error?

I don't think this is possible. You have to grep through /tmp/test.exp.log and search for errors.

HTH - C. Received on Tue Feb 26 2008 - 02:18:06 CST

Original text of this message