[olug] Unix Tip: USE DU TO FIND FILES

Thom Harrison id4spam at cox.net
Tue Apr 22 00:38:35 UTC 2003


I think they just screwed up.

cd /etc
du -a | grep conf$   ( instead of  grep *.conf )

This will list all of the files that end with conf in subdirectories as
well.

Thom

----- Original Message -----
From: "Dave Hull" <dphull at insipid.com>
To: <jeffh at delasco.com>; "Omaha Linux User Group" <olug at olug.org>
Sent: Monday, April 21, 2003 8:14 AM
Subject: Re: [olug] Unix Tip: USE DU TO FIND FILES


> On Sun, 20 Apr 2003, Jeff Hinrichs wrote:
>
> > +1 on ls *.txt, it's curious why anyone would use find or du for the
> > current directory.  Am I missing something?
>
> Yes, we're all missing some sort of qualitative filter on these tips.
>
> --
> Dave Hull
> http://insipid.com
>
> Logic doesn't apply to the real world.
> -- Marvin Minsky
>
> _______________________________________________
> OLUG mailing list
> OLUG at olug.org
> http://lists.olug.org/mailman/listinfo/olug



More information about the OLUG mailing list