DISQUS

DISQUS Hello!  The comments on this profile are unclaimed and thus are unverified.

Do they belong to you? Claim these comments.

snarfel's picture

Unregistered

Feeds

aliases

  • snarfel

snarfel

8 months ago

in Find a file by name in UNIX/Solaris/Linux | UNIX | Tech-Recipes on Tech-Recipes
so, i get a bunch of "Permission Denied" notices for directories that my current user account can't access. is there a way to suppress these?
3 replies
Quinn McHenry's picture
Quinn McHenry Yeah, totally. Normal output goes to "standard output" which can be redirected with normal measures. It's actually a nice thing that those messages are sent to "standard error" so you can redirect those but keep the more interesting responses.

find / -name something 2> /dev/null
venkata sudheer try this # find <folder path> -name <filename> -print
show all 3 replies
Returning? Login