Script help
Dennis Kaptain
dkaptain at yahoo.com.mx
Fri Sep 19 21:08:01 UTC 2008
> > Can anyone rattle this off of the top of their head?
>
> `ls -t myfile*.txt | head -1` might work for you.
>
> >
ls -t by itself may give you more than one filename per line.
Use ls -t1
that will assure you get only one file name output from head.
Dennis K
__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis!
Regístrate ya - http://correo.yahoo.com.mx/
More information about the fedora-list
mailing list