Find Command (Was: RE: [PLUG] Failed boot and no startx)

Cooper Stevenson cooper at cooper.stevenson.name
Sat Mar 8 22:57:01 UTC 2003


> No, it would mean the command isn't working correctly :)

It is counting the directories twice. I do not know why. This solves the
problem:

  find / -type f -exec du -h {} \; 2>/dev/null | sort -rn | less

Does anyone know why this is happening? 


-Cooper


On Sat, 2003-03-08 at 17:25, Wil Cooley wrote:
> On Sat, 2003-03-08 at 15:43, Sean Dixon wrote:
> > Great command.  Thanks
> > 
> > I noticed I have 2 of everything.  That would explain why 11G are taken
> > up.
> 
> No, it would mean the command isn't working correctly :)  You cannot
> have two of everything (I assume you mean you have two of every file
> with the same name.)
> 
> Wil
> -- 
> Wil Cooley                                 wcooley at nakedape.cc
> Naked Ape Consulting                        http://nakedape.cc
> * * * * Linux, UNIX, Networking and Security Solutions * * * *
> QCSNet                                     http://www.qcsn.com
> * * * * T1, Frame Relay, DSL, Dial-up, and Web Hosting * * * *
> *   My GPG key recently expired.  It's updated on the key    *
> *   servers.  Please update if you're using GPG/PGP.         *






More information about the PLUG mailing list