Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • 1
    ls and find aren't builtins in either bash or zsh, so it's unclear how switching shells would help in this instance. Commented Mar 26, 2011 at 12:22
  • It's about shell expansion. If the shell can't expand the globbing, this might be the issue. Commented Mar 29, 2011 at 21:17
  • I made few tests running commands on about 1e6 files, ZSH faces the same problems: "$ cp * Test/ ksh: cp: Argument list too long % rm * zsh: sure you want to delete all the files in /home/user/Downloads [yn]? y zsh: argument list too long: rm % ls * zsh: argument list too long: ls ". Sorry but I cannot see how this is related to the question -1 because it was so easy to test this, create just 1e6 files and run the commands. Commented Apr 9, 2011 at 23:57