Wednesday 11 November 2009

Check the top 10 space using files and the directories

To identify the top 10 space using files and directories use the du commnad as below.

du -a /opt/oracle | sort -n -r | head -n 10

If you want to list n or more files then change the value 10 to the required number of files. eg: 30

No comments: