Half of a ls -l ?
Donn Pedro
dfpedro at uswnvg.UUCP
Fri May 17 00:39:36 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
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 at uswnvg.UUCP
More information about the Comp.unix.questions
mailing list