that limit only applies if your doing stupid things likeI couldn't remember the info when writing the above. A quick google reveals total limit is..@swampdog , WOW that is a great lecture,Will take me a few days to consume thanks.Nice to add a bash file. Had no idea that 'ls' relied on ram space.^^^2Mb - that's a 64bit bookworm rpi5. Generically it is more complex than that because it may depend on the shell in use: IBM's Aix default 'ksh' had a very low limit on power5, so low in fact it was often impossible to compile projects with more than a few thousand characters on the command line but you can ignore that because that was their Unix (as opposed to Linux).Code:
foo@pi24:~ $ getconf ARG_MAX2097152
Here's a hint of what happens when argument expansion runs out of space. I merely picked the first answer for my google
https://stackoverflow.com/questions/11 ... -commands
Code:
echo $(ls)if your using | then that limit doesnt apply
Statistics: Posted by cleverca22 — Sun Oct 12, 2025 7:19 pm