Tuesday, November 6, 2007

full disk space issues ( Finding out the culprit )

if you wish to find out what file or directory is taking up the most space in a particular you location, you can use the du command. For instance, to display the 50 largest files/directores in /usr/local, you would issue the following command:

du -a /usr/local | sort -n -r | head -n 50


You can change the commands as per needs.



No comments:

Blog Archive