​welcome to my blog​

将错误信息重定向到别的位置就行, 比如在当前目录寻找hello.py文件,同时将错误信息输出到/tmp/tempfile里, 这样终端显示的就是干净的结果了

find . -name "hello.py" 2> /tmp/tempfile