welcome to my blog
将错误信息重定向到别的位置就行, 比如在当前目录寻找hello.py文件,同时将错误信息输出到/tmp/tempfile里, 这样终端显示的就是干净的结果了
find . -name "hello.py" 2> /tmp/tempfile
linux find命令忽略权限不够的目录
阅读 95
2023-01-18
find . -name "hello.py" 2> /tmp/tempfile
相关推荐
精彩评论(0)