Use the below given command to remove logfiles older than 10 days:
cd to the directory where the files are located:
$ cd /u01/app/oracle/admin/orcl/bdump
$ find . -name “*.log” -mtime +10 -exec rm -f {} ;
OR
$ find /u01/app/oracle/admin/orcl/bdump/ -name “*.log” -mtime +10 -exec rm -f {} ;
Recent Comments