Newsgroups: comp.unix.questions Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!uunet!convex!egsner!swsrv1!toma From: toma@swsrv1.cirr.com (Tom Armistead) Subject: Re: Half of a ls -l ? Message-ID: <1991May12.225057.1829@swsrv1.cirr.com> Organization: Software Services: Garland, Tx References: <1991May12.085633.10066@nuchat.sccsi.com> Date: Sun, 12 May 91 22:50:57 GMT In article <1991May12.085633.10066@nuchat.sccsi.com> robby@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@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@swsrv1.cirr.com {egsner,letni,ozdaltx,void}!swsrv1!toma