It's actually working very well. In your first command it's telling you you have
many many files. Much more than the internal buffers of ls can process.
Try the following:
find . -maxdepth 1 -print | sort | more
find . -maxdepth 1 -name "<wildcard of your filespec>" -print | sort | more
Example:
find . -maxdepth 1 -name "*.db" -print | sort | more
Hope this helps.
Regards,
Lou
On Nov 23, 2007 10:54 AM, chloe K <chloekcy2000@xxxxxxxx> wrote:
Hi
My ls command not works properly
Are there many files problem?
[host]# ls -al |wc -l
55264
[host]# ls -al *.db |more
-bash: /bin/ls: Argument list too long
[host]# ls -al *
-bash: /bin/ls: Argument list too long
[host]# ls -al *.*
-bash: /bin/ls: Argument list too long
--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list