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
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!