Find files and directories

To find a file named hostname ignoring case and searching from /

find / -iname hostname

To find all files named zulu and redirect the output into a file named zulufind ignoring errors

find / -name Zulu>zulufind 2>/dev/null

To find a file from the current directory

find . -name passwd

To ignore errors add 2>/dev/null to the end where 2 means stderror and >/dev/null redirects to a null device (basically dumps the errors to nowhere)

find / -name passwd 2>/dev/null