Answers for "linux find bypass permi"

0

how to silence operation not permitted

Just add "2>/dev/null" at the end of your command pipe as for example:
find . -name log 2>/dev/null
Posted by: Guest on October-27-2020
0

hide permission denied ~/.bash

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
Posted by: Guest on June-26-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language