I'm asking a question based on this link How to cause "Argument list too long" error?
From the thread, I'm seeing the equivalent error, if i'm running this:
>/bin/echo `perl -e 'print "x" x 1000000'`
/bin/echo: Argument list too long.
However, if I use echo
instead of /bin/echo
, it has no error, even if i exceeded way beyond the ARG_MAX
>echo `perl -e 'print "x" x 100000000'`
xxxxxxxxxxx...
Here's my environment
>which echo; getconf ARG_MAX
/bin/echo
2097152
I'm using tcsh.
type echo
– Scott - Слава Україні Nov 23 '18 at 03:50type: Command not found.
– lionel319 Nov 23 '18 at 03:51