Q:

Supresss the 'no such file or directory' message from 'find'

I'm trying to find a directory with this command:
find /users/dan/ -name 'Prams' -type d

I see a huge amount of 'No such file or directory' output.  Is there a way to make find shut up if it doesn't find anything? 

A:

Try this:
find /users/dan/ -name 'Prams' -type d 2>/dev/null

