This content has been marked as final. Show 3 replies
Use *2>/dev/null* at the end of your find command to suppress Permission denied.
$ find /etc -name oracle
find: /etc/cron.d: Permission denied
find: /etc/racoon/certs: Permission denied
find: /etc/audit: Permission denied
find: /etc/lvm: Permission denied
$ find /etc -name oracle *2>/dev/null*
Errors are send to stdout by default. You can redirect errors to /dev/null to suppress the output. For instance:1 person found this helpful
[dude@vm003 ~]$ find / -name lvscan 2>/dev/null
That did it! Thank you so much! Someone showed that to me about a year ago and , of course , I didn't write it down...