Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

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
Source by www.cyberciti.biz #
 
PREVIOUS NEXT
Tagged: #hide #permission #denied
ADD COMMENT
Topic
Name
4+3 =