[wellylug] ls capacity

Donald Gordon don at dis.org.nz
Fri Nov 29 16:06:21 NZDT 2002


>
>> What is the maximum amount of files you can list in a directory ? like
>> : ls *.jpg
>
> If you are having trouble seeing all the files listed, it is probably
> because of limitations in the shell history.  In this case it would be
> better to pipe te outout of the ls command into a file by doing;
>  'ls *.jpg > jpg.list"
>
> and then read your file with your favourit tect file viewer.
> 'less jpg.list'.

'ls *.jpg | less' works, too, and doesn't need temporary files :-)

[side-note: temporary files are the mechanism command.com uses to
implement piping under DOS]

don




------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get 128 Bit SSL Encryption!
http://us.click.yahoo.com/CBxunD/vN2EAA/xGHJAA/0XFolB/TM
---------------------------------------------------------------------~->

  .-.   Wellington
  /V\   Linux
 // \\  Users       
/(   )\ Group
 ^^-^^
        http://wlug.paradise.net.nz/

To unsubscribe from this group, send an email to:
wellylug-unsubscribe at egroups.com
  

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 





More information about the wellylug mailing list