Re: "ls -al * " not work

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Chloe K:

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



All new Yahoo! Mail -
Get a sneak peak at messages with a handy reading pane.

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux