Pages

Tuesday, June 26, 2012

Arg list too long error

Most of the time listing on large directory or removing big chunk of files using rm command we face this error
arg list too long error

Actually this error indicates that we have crossed the maximum length of arguments for a process.

The maximum length of arguments for a new process in Linux is defined by variable called ARG_MAX to check the value
type the command at the command prompt

juned:/> getconf ARG_MAX
131072

Refer : http://www.in-ulm.de/~mascheck/various/argmax/  for more details

No comments:

Post a Comment