📅  最后修改于: 2022-03-11 14:50:42.596000             🧑  作者: Mango
find /path/to/dir -name "search-patter" 2>&1 | grep -v "Permission denied" > output-file
find /etc -name "x*.conf" 2>&1 | grep -v "Permission denied" > output.txt