Re: Using find / -name
From: Barry Margolin (barmar_at_alum.mit.edu)
Date: 04/18/05
- Next message: Chris F.A. Johnson: "Re: Using find / -name"
- Previous message: Cosmic Cruizer: "Using find / -name"
- In reply to: Cosmic Cruizer: "Using find / -name"
- Next in thread: Chris F.A. Johnson: "Re: Using find / -name"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 17 Apr 2005 21:13:11 -0400
In article <Xns963BB7DC32123ccruizermydejacom@64.164.98.29>,
Cosmic Cruizer <XXjbhuntxx@white-star.com> wrote:
> How can I do a find / -name sometext
> That does not print each path that has
> cannot read dir /somepath/somepath : Permission denied
>
> I don't see anything in the man pages that lists any flags that will
> suppress the Permission denied items. I also tried to use grep with a -v,
> but that did not work.
>
> Thanks
Redirect stderr:
find / -name sometext 2>/dev/null
-- Barry Margolin, barmar@alum.mit.edu Arlington, MA *** PLEASE post questions in newsgroups, not directly to me ***
- Next message: Chris F.A. Johnson: "Re: Using find / -name"
- Previous message: Cosmic Cruizer: "Using find / -name"
- In reply to: Cosmic Cruizer: "Using find / -name"
- Next in thread: Chris F.A. Johnson: "Re: Using find / -name"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|