Trying to run find command on Linux
find /dir1 -name "*.bak" -print
Getting Permission denied messages:
find: ‘/dir1/lobby.conf’: Permission denied
find: ‘/dir1/images’: Permission denied
find: ‘/dir1/nginx.conf’: Permission denied
Is there is a way to find and grep permission. I just need to hide Permission denied messages but show all other errors on screen.