Paul - The Programmer

simple & stupid
give me a colorful linux console
The differences of df and du

redirect stderr to stdout

paul posted @ Mon, 22 Sep 2008 19:34:50 +0800 in linux , 1427 readers

The intention is to handle the error output as standard output.

e.g.  To filter the permission denied errors complained by command find

find -follow -name 'your pattern' 2>&1 | grep -v 'Permission denied'

Creative Commons License
This work is licensed under a Creative Commons Attribution 3.0 Unported License.
  • No match
  • No match

Login *


loading captcha image...
(type the code from the image)
or Ctrl+Enter