Command In Crosh — Longest
So, what happens when you try to break them? What is the you can type before Crosh gives up?
We found the wall. After narrowing it down, the longest successful command in Crosh is exactly: longest command in crosh
# Generate a 32,767-character argument printf 'A%.0s' 1..32767 | xargs -0 echo Note: The above command requires xargs , which may not be available in stock Crosh. You have been warned. Did I miss a longer command? Do you know a hidden built-in that bypasses the limit? Let me know in the comments. So, what happens when you try to break them
But if you are writing a script that generates a massive one-liner inside Crosh (e.g., a very long for loop), remember the magic number: . The Longest Command Ever (Recorded) Here it is, abbreviated for sanity: After narrowing it down, the longest successful command
Date: Draft Topic: Shell limits & buffer overflows in crosh
However, if you use a that doesn't require forking, the limit changes.