[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: simple questions



On 02 Feb 2002 15:26:08 +0100
Mario Vukelic <mario.vukelic@chello.at> wrote:

> On Sat, 2002-02-02 at 14:45, Alexey wrote:
> > 1.   How can I make a program produce no output on the shell screen if
> >      it has no special "quiet behavior" option and >/dev/null doesn't help?
> >      (the messages are not errors- or warnings-like).
> 
> Did you still try 2> /dev/null ? Maybe they aren't errors or warnings
> but still directed to sterr

A bashism! How about this:

(cdrecord > /dev/null) >& /dev/null

-- 
Humanity's future is in the stars:
support a manned mission to Mars!
http://www.thinkmars.net/petition/addpetition.html



Reply to: