redirect stderr to stdout
paul
posted @ Mon, 22 Sep 2008 19:34:50 +0800
in linux
, 1458 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'
This work is licensed under a Creative Commons Attribution 3.0 Unported License.