This is a common error while trying to delete files from directory in the LINUX OS.
[oracle@xxxora bdump]$ rm -rf *.trc
-bash: /bin/rm: Argument list too long
Error
-bash: /bin/rm: Argument list too long
Solution
Use the find and xargs commands to remove the existing files
[oracle@xxxora bdump]$ find . -name 'orcl*.trc' | xargs rm
[oracle@xxxora bdump]$ dir
alert_orcl.log
[oracle@xxxora bdump]$
No comments:
Post a Comment