[UFO Chicago] find command problem
kannaiah at bsd.uchicago.edu
kannaiah at bsd.uchicago.edu
Thu Aug 10 11:14:05 PDT 2006
here is the "uname -a" info
$>Linux ccapps 2.6.9-34.0.2.ELsmp #1 SMP Fri Jun 30 10:32:04 EDT 2006 x86_64
x86_64 x86_64 GNU/Linux
I am ordering my own Unix power tools book. Thanks for the suggestion.
-Kiran
Quoting Brian Sobolak <brian at planetshwoop.com>:
>
> Kiran Annaiah wrote:
> > Hello everyone,
> >
> > Anybody encounter such a problem while running "find" command?
> > I ran the command as:
> >
> > [root at ccapps /]# find / -name "gcc" -print
> > find: WARNING: Hard link count is wrong for /: this may be a bug in your
> > filesystem driver. Automatically turning on find's -noleaf option.
> > Earlier
> > results may have failed to include directories that should have been
> > searched.
> >
> >
> > The command runs fine after throwing that warning.
> >
> >
> > Is there a way to get rid of that? Should i be installing a different
> > version
> > of the "find" command?
>
> It seems like there isn't a problem with find, the problem is kernel
> related. The Linux Kernel mailing list has some details.
>
>
<http://www.google.com/search?q=Hard+link+count+is+wrong+for+%2F&start=0&ie=utf-8&oe=utf-8&client=firefox-a&rls=org.mozilla:en-US:official>
>
> > Also, if i need to install any linux utilities - which would be a good
> > site to
> > get them from? Is there a site with a comprehensive list of all the unix
> > command utilities?
>
> There are probably like 200,000 sites. Actually installing them is
> usually highly OS-dependant because they can be tied to the kernel
> version. Type 'uname -a' and send it back to the list and we can offer
> suggestions.
>
> As for a general resource for learning the command line, I'd highly
> recommend O'Reilly's "Unix Power Tools" book. That's where I learned
> goodness like !!, $$, Ctrl-R, backticks, and an explanation of find that
> was quite lovely. IT's not cheap ($70), but well worth it.
>
> They have a sample chapter online:
>
> <http://www.oreilly.com/catalog/upt3/chapter/ch28.pdf>
>
>
> brian
>
>
>
> --
> Brian Sobolak
> http://www.planetshwoop.com/
>
>
>
>
-------------------------------------------------
This email is intended only for the use of the individual or entity to which
it is addressed and may contain information that is privileged and
confidential. If the reader of this email message is not the intended
recipient, you are hereby notified that any dissemination, distribution, or
copying of this communication is prohibited. If you have received this email
in error, please notify the sender and destroy/delete all copies of the
transmittal. Thank you.
-------------------------------------------------
More information about the ufo
mailing list