in reply to Disable output from system

On unix system using bash(shell), one way of suppressing error and output
tar -vxf upload.tar 2>&1 >/dev/null

Vivek
-- In accordance with the prarabdha of each, the One whose function it is to ordain makes each to act. What will not happen will never happen, whatever effort one may put forth. And what will happen will not fail to happen, however much one may seek to prevent it. This is certain. The part of wisdom therefore is to stay quiet.

Replies are listed 'Best First'.
Re^2: Disable output from system
by rovf (Priest) on Mar 26, 2009 at 08:55 UTC

    I think you mean:

    tar -vxf upload.tar >/dev/null 2>&1

    -- 
    Ronald Fischer <ynnor@mm.st>