You can face with this error message while you are deleting some xxx.trc -c-dump files or some other files which fill up your disk you may hit ksh: /usr/bin/rm: arg list too long error message,

Let see how we can get this error message on linux

# cd /u01/app/oracle/admin/DB_NAME/bdump

# rm -rf *.trc

ksh: /usr/bin/rm: arg list too long

We see this message because there are too many files which end with .trc

So you can use below syntax to can delete those files:

# find . -name “DIR_PATH/*.trc” -type f -exec rm -f {} \;


# find DIR_PATH -name “*.trc” -type f -exec rm -f {} \;

PS: In our case DIR_PATH=/u01/app/oracle/admin/DB_NAME/bdump