Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tlug: ls command



On Sun, 6 Dec 1998, Jim Schweizer wrote:

> Michael Casinghino wrote:
> > 
> > I want to get a recursive listing of a directory that with output like
> > this:
> > 
> > dir/
> > dir/sub1/
> > dir/sub1/file1.1
> > dir/sub1/file2.1
> 
> try du -a
> 
> should do the trick....

no, this reports things in this format:

18392   ./jdk-sbb-1.1.7.1a-1TL.i386.rpm
652     ./ImageMagick-4.1.2-1TL.i386.rpm
145     ./zgv-3.0-2TL.i386.rpm
87      ./sharutils-4.2-10TL.i386.rpm
587     ./glimpse-4.1-2TL.i386.rpm


using 'find dir/' will do it so that you don't have to pipe the output
through cut to get the desired results.

--------------------------------------------------
Scott M. Stone <sstone@example.com, sstone@example.com>
Head of TurboLinux Development/Systems Administrator
Pacific HiTech, Inc (USA) / Pacific HiTech, KK (Japan)


------------------------------------------------------------------
Next Technical Meeting: 12 December, 12:30 at Temple Univ. Japan
*NEW LOCATION* a map is available at http://www.tuj.ac.jp/maps.html
Next Nomikai: 15 January 1999, 19:30 Tengu TokyoEkiMae 03-3275-3691
------------------------------------------------------------------
more info: http://tlug.linux.or.jp                     Sponsor: PHT


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links