Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!wuarchive!uunet!uswnvg!dfpedro From: dfpedro@uswnvg.UUCP (Donn Pedro) Newsgroups: comp.unix.questions Subject: Re: Half of a ls -l ? Message-ID: <813@uswnvg.UUCP> Date: 16 May 91 14:39:36 GMT References: <1991May12.085633.10066@nuchat.sccsi.com> Lines: 39 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 Did something like that just the other day. Here is the output of the ls -l command. $> ls -l -rw-r----- 1 dfpedro news 12956 May 8 22:47 Articles -rwx------ 1 dfpedro news 3626 Mar 13 14:53 bell_die -rw------- 1 dfpedro news 1707 Apr 23 15:05 bill -rw-r----- 1 dfpedro news 8416 May 1 06:38 cellular -rw-r----- 1 dfpedro news 942 May 15 12:19 dead.article -rw-r----- 1 dfpedro news 8827 Mar 13 09:38 flog -rw------- 1 dfpedro news 1947 Mar 15 09:30 lane.out $> ls -l | awk '{print $5,$6, $7, $8, $9}' 12956 May 8 22:47 Articles 3626 Mar 13 14:53 bell_die 1707 Apr 23 15:05 bill 8416 May 1 06:38 cellular 942 May 15 12:19 dead.article 8827 Mar 13 09:38 flog 1947 Mar 15 09:30 lane.out There you go. dfpedro@uswnvg.UUCP