Monday, 9 June 2014

Delete files in Linux (when there are too many files in a directory and ls command is not responding)

Useful commands in Linux


An easy way to delete files in Linux especially when there are too many files in a directory and ls command is not responding or is very slow.


find $ORACLE_HOME/rdbms/audit  -name "*.*" -mtime +15 -type f -delete &


How to display latest files, sorted by size
ls -ltS