Checking diskspace in linux
August 27, 2009 @ 10:47 pm Tags: checking, command, diskspace, Linux Tips & Tricks
Some command that you can execute to check for linux diskspace.
ls –lSr (it will Show files by size, biggest last)
du -s * | sort -k1,1rn | head (Show top disk users in current dir)
df –h (Show free space on mounted filesystems)
df –i (Show free inodes on mounted filesystems)
fdisk –l (Show disks partitions sizes and types (run as root))
rpm -q -a –qf ‘%10{SIZE}\t%{NAME}\n’ | sort -k1,1n (List all packages by installed size)