Mailinglist Archive: opensuse (2912 mails)

< Previous Next >
Re: [SLE] find command
  • From: John Sowden <jsowden@xxxxxxxxxxxxxxxxxx>
  • Date: Sat, 12 Feb 2005 19:43:49 -0800
  • Message-id: <200502121943.49508.jsowden@xxxxxxxxxxxxxxxxxx>
Thanks, but I looked for the locate command several years ago. It seems that
locate is not installed in any of the suse distros that I have used,
currently 8.2. I tried it again just now, to be sure and got a command not
found, including under user root.

John

On Saturday 12 February 2005 19:23, Randall R Schulz wrote:
> John,
>
> On Saturday 12 February 2005 18:35, John Sowden wrote:
> > When using the find command, I am getting hundreds of 'permission
> > denied' when not using the user root. I did a google search and
> > found that I should add " 2>/dev/nul" to the line (obviously this
> > needs an alias), but now I get one line of bash: /dev/nul:
> > "permission denied"
> >
> > the complete line is: find / -iname filename 2>/dev/nul
> >
> > thoughts?
>
> You've been told about the proper name for /dev/null.
>
> However, for such simple invocations of find, you really should be using
> the "locate" command. It's far faster, won't be restricted from
> disclosing files in unreadable sub-directories and will be far easier
> on your hard drives.
>
> "man locate" for all the details.
>
> > John Sowden
>
> Randall Schulz


< Previous Next >