Hello Chloe K:<br><br>It's actually working very well.  In your first command it's telling you you have<br>many many files.  Much more than the internal buffers of ls can process.<br><br>Try the following:<br><br>find . -maxdepth 1 -print | sort | more
<br><br><br>
find . -maxdepth 1 -name "<wildcard of your filespec>" -print | sort | more<br>
<br>
Example:<br>
find . -maxdepth 1 -name "*.db" -print | sort | more<br>

<br><br>Hope this helps.<br><br>Regards,<br>Lou<br><br><div class="gmail_quote">On Nov 23, 2007 10:54 AM, chloe K <<a href="mailto:chloekcy2000@yahoo.ca">chloekcy2000@yahoo.ca</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi <br><br>My ls command not works  properly<br>Are there many files problem?<br><br>[host]# ls -al |wc -l<br>55264<br><br>[host]# ls -al *.db |more<br>-bash: /bin/ls: Argument list too long<br><br>[host]# ls -al *<br>-bash: /bin/ls: Argument list too long
<br>[host]# ls -al *.*<br>-bash: /bin/ls: Argument list too long<br><div class="WgoR0d"><br><br><p> 
      </p><hr size="1"> <a href="http://ca.promos.yahoo.com/newmail/overview2/" target="_blank"><b>All new Yahoo! Mail - </b></a>
<hr size="1">Get a sneak peak at messages with a handy reading pane.</div><br>--<br>fedora-list mailing list<br><a href="mailto:fedora-list@redhat.com">fedora-list@redhat.com</a><br>To unsubscribe: <a href="https://www.redhat.com/mailman/listinfo/fedora-list" target="_blank">
https://www.redhat.com/mailman/listinfo/fedora-list</a><br></blockquote></div><br>