Half of a ls -l ?

Tom Armistead toma at swsrv1.cirr.com
Mon May 13 08:50:57 AEST 1991


In article <1991May12.085633.10066 at nuchat.sccsi.com> robby at nuchat.sccsi.com (Robert Oliver Jr.) writes:
>Hi there,
> 
>  Has anybody out there ever printed out the size,date and name of a file
>without the permitions and owners just the size,date & name.  I would like 
>to know how you did it!  
> 
>                                                    Robert Oliver
>                                                    robby at nuchat.sccsi.com


How about this?
    $ ls -l | awk  '{ printf "%6s  %s %2s %s  %s\n",$5,$6,$7,$8,$9 }'

Tom
-- 
Tom Armistead - Software Services - 2918 Dukeswood Dr. - Garland, Tx  75040
===========================================================================
toma at swsrv1.cirr.com                {egsner,letni,ozdaltx,void}!swsrv1!toma



More information about the Comp.unix.questions mailing list