Humble Trader

Saturday, January 14, 2006

Redirect Streams (stdin, stdout & stderr)

  1. Redirect all output to /dev/null:
    • {command} > /dev/null 2>&1
      • -> redirect stdout to /dev/null and stderr to stdout.

0 Comments:

Post a Comment

<< Home