It seems that xargs doesn’t pass all the arguments at once, in says in the manual that xargs executes the command (default is /bin/echo) one or more times, I heard that the reason for this is that xargs chops the passed in arguments into groups and pass them to the command group by group. If this is correct, anyone knows how this group size is determined? Thanks
It seems that xargs doesn’t pass all the arguments at once, in says in
Share
Use the
--show-limitsargument. It will list the existing limits on your system.The group size depends on the length of each argument passed in and the limits listed above.
From the
xargsman page, for reference: