bash: /bin/rm: Argument list too long

Solution Unverified - Updated -

Issue

  • Using the rm command produces bash: /bin/rm: Argument list too long

For example:

rm -rf /var/spool/mqueue/*

-bash: /bin/rm: Argument list too long

Environment

  • Red Hat Enterprise Linux 5

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In