[ILUG] unic cut question

bscanlan at irish-times.com bscanlan at irish-times.com
Mon Jul 16 12:26:39 IST 2001


On Mon, Jul 16, 2001 at 11:49:54AM +0100, hrishy wrote:
> when i say ls-l i get the following output
> drwxrwx--x   3 bsp      bsp          512 Jun 11 1999 
> :
> -rw-rw----   1 bsp      bsp       634890 May 30 15:18
> CheckSolSP3Stnd
> -rw-rw----   1 bsp      bsp       434334 Jun 26 09:18
> Fileout
> -rw-rw----   1 bsp      bsp          468 Jun 04 06:15
> IMD_b50c.dem
> drwxr-xr-x   2 bsp      bsp          512 Apr 12 14:42
> ItalianSP3loc2
> drwx--x--x   2 bsp      bsp          512 Jul 02 11:36
> Mail
> drwxr-x---   2 bsp      bsp          512 Jul 02 11:32
> SwedishFrite
> -rw-rw----   1 bsp      bsp        12086 Jul 03 05:37
> build-dd
> 
> but i wnat to the output to conatin a particular
> column only say forx 3rd column.how di i do this??

ls -l | awk '{print $3}'

I *think* that's what you want. I think.

Brian.
-- 
Brian Scanlan, Systems Administrator.
Irish Times New Media - http://www.ireland.com




More information about the ILUG mailing list