[geeks] MAX_ARG issue

Kevin kevin at mpcf.com
Fri Oct 24 05:34:30 CDT 2003


I'm getting the "bash: /bin/rm: Argument list too long" errors on one of
my linux servers so i did a getconf ARG_MAX and i get back "131072".  Is
there a way of increasing the MAX_ARG variable?  Are there any concerns
with increasing this limit?

I've gotten around the issue today using "find ./ -iname "spam*" -exec
rm {} \;" but i will be doing this frequently for the next few weeks so
i would like to be able to use ls and rm here without issues.

Thanks,
/KRM

-- 
"UNIX was not designed to coddle the weak."
				--Fyodor
keyserver: http://pgp.mit.edu/



More information about the geeks mailing list