About Searching for a File

To search for a file by name ignoring the "Permission denied" errors, do this:

$ find / -name "my.cnf" 2>/dev/null

Tips and Tricks Dev Ops Development Bash Zsh