what distro are you using ?

with ls -l

debian outputs this:

-rwxr-xr-x 1 root root  98188 2005-12-04 12:52 netstat
-rwxr-xr-x 1 root root  39544 2003-04-03 00:23 ed

and ubuntu this:

-rw-r--r-- 1 zzzzzzz zzzzzzz    260005 2002-07-31 04:15 ximian2.jpg
-rw-r--r-- 1 zzzzzzz zzzzzzz    263068 2002-07-31 04:15 ximian.jpg

and i suppose those files are old enough... ?


On Sat, Jun 7, 2008 at 9:18 AM, fooler mail <[EMAIL PROTECTED]> wrote:

> On 6/7/08, atreux <[EMAIL PROTECTED]> wrote:
> > this should work:
> >
> > ls -ltr | grep '^-' | awk '{print substr($0, index($0,":")+4)}'
>
> we appreciate your effort to show similar solution... but... the
> problem above is that older files dont display time but year instead..
> thus the code above wont work on older files...
>
> fooler.
> _________________________________________________
> Philippine Linux Users' Group (PLUG) Mailing List
> http://lists.linux.org.ph/mailman/listinfo/plug
> Searchable Archives: http://archives.free.net.ph
>
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
http://lists.linux.org.ph/mailman/listinfo/plug
Searchable Archives: http://archives.free.net.ph

Reply via email to