Script help
Dennis Kaptain
dkaptain at yahoo.com.mx
Fri Sep 19 22:25:00 UTC 2008
> > 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.
>
>
> Single-column output is automatically selected any time that the output
> of ls is redirected to anything which is not a tty, so the -1 option is
> not required. Comparing the output of 'ls' to the output of 'ls|cat'
> will demonstrate this feature at work.
>
> -Chris
This is why I love being on this list. There is ALWAYS more to learn.
Thanks Chris
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 users
mailing list