Example:
rm *.txt bash: /usr/bin/rm: Argument list too long
Solution:
find . -name '.txt' -type f -delete
NOTE: Argument list too long indicates when a user feeds too many arguments into a single command which hits the ARG_MAX limit.
getconf ARG_MAX
root@server1:~# getconf ARG_MAX 2097152