/bin/rm: Argument list too long. Error for deletion of Audit files

Description:

Sometimes when we try to delete the large numbers of audit files, we get the error “/bin/rm: Argument list too long“.

Solution :

Run the below command using your audit home location:

Note: you can use this command for other log files also like trace file(.trc).

Priyanka Bisht
Author: Priyanka Bisht

4 comments

  1. Thanks. This works like a charm.

  2. didnt work for me. I am trying to delete many files with similar file extension.

  3. Raja Zain ul abideen

    Thanks this works for me

Leave a Reply

Your email address will not be published. Required fields are marked *