Limitations on a command line

Harald Becker ralda at
Sat Jan 29 18:06:49 UTC 2011

 Hallo Walter!

> If i remember correctly that limit is fallen in later linux kernels.
As correctly pointed out by someone else, there are (were) two limits.
The so called kernel limit, which is correctly a limit based of the
architectures stack/environment considerations. And the limit enforced
by the (unparsed) command line buffer of the shell, which is usually
lower than the kernel limit, but isn't relevant for globbing requirements.

> but it is sensible not to overload commandline and use xargs or other.
xargs bypasses shell buffer limitations and does only need to deal with
kernel (or stack/environment) memory requirements.


More information about the busybox mailing list