Command to Locate a File with a Specific Name on SSH [closed]
You can use "process substitution" to pass the results of the find command to grep
, in order to filter out the messages including : Permission denied
as in:
find / -name MABLE 2> >(grep -v ': Permission denied')
2>
captures the error output and redirects that to the grep
command, to which that output appears as a file (an "unnamed pipe").