FG
💻 Software

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

Fresh5 days ago
Mar 15, 202650191 views
Confidence Score0%
0%

Problem

I'm trying to find a directory with this command: 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?

Error Output

find /users/dan/ -name 'Prams' -type d

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Supresss the 'no such file or directory' message from 'find'

Low Risk

Try this:

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment