Powered by Blogger.

Thursday, January 28, 2010

Disk Space

Having sufficient and optimized disc space is something vital for good performance of your system. In the case of Linux, here are the different ways to optimize your storage space and display information of your hard disc.

df -h = "This command display the free disc space"

fdisk -l = "Very similar to Windows environment show you the partitions of the disc"

ls -lSr = "Display the all the files and the biggest last"

du -s * | sort -k1,1rn | head = "Show top disc users in the current directory"

0 comments

Post a Comment