On Fri, Sep 23, 2011 at 8:55 AM, shawn wilson <ag4ve...@gmail.com> wrote:

>
> On Sep 21, 2011 1:35 PM, "Camaleón" <noela...@gmail.com> wrote:
> >
>
> > du -h /lib | grep "[0-9]M" | sort -n -r | less
> >
> du is cool. I use it all the time in a pinch but here, I think
> find /lib -size +1M -maxdepth 1
> would be better/quicker (Might be a different switch to add the size of
> directories, on my phone :) )
>
> # find /lib -size +1M -maxdepth 1
find: warning: you have specified the -maxdepth option after a non-option
argument -size, but options are not positional (-maxdepth affects tests
specified before it as well as those specified after it).  Please specify
options before other arguments.

what does the maxdepth mean? Thanks,

# find /lib -size +1M
/lib/modules/3.0.0-mbp82-lina/kernel/fs/xfs/xfs.ko
/lib/modules/3.0.0-mbp82-lina/kernel/fs/ocfs2/ocfs2.ko
/lib/modules/3.0.0-mbp82-lina/kernel/drivers/gpu/drm/radeon/radeon.ko
/lib/modules/3.0.0-mbp82-lina/updates/dkms/fglrx.ko
/lib/discover/pci-device.xml
/lib/x86_64-linux-gnu/libc-2.13.so
/lib/x86_64-linux-gnu/libslang.so.2.2.4




-- 
Best Regards,

lina

Reply via email to