Download offline copy |
|
|
|
|
| |
|
|
| |
| |
| |
| |
| Follow us on... |
|
|
 |
|
 |
|
| |
| News Letter |
|
|
 |
Sign-up me to receive the news about this document |
|
|
|
|
|
| |
Version
Linux Command Line version 1.4
Last modified date: 2009-07-03
Created Date: 2008-01-06
|
|
| |
|
|
|
|
|
|
|
|
|
Linux Command Line:
Disk Space |
|
|
|
|
|
View the commands list divided into arguments |
|
|
|
|
|
|
|
|
|
|
| Command |
Description |
|
# df -h |
show list of partitions mounted [man] |
|
# dpkg-query -W -f='${Installed-Size;10}t${Package}n' | sort -k1,1n |
show the used space by installed deb packages, sorting by size (debian, ubuntu and alike) [man] |
|
# du -sh dir1 |
estimate space used by directory 'dir1' [man] |
|
# du -sk * | sort -rn |
show size of the files and directories sorted by size [man] |
|
# ls -lSr |more |
show size of the files and directories ordered by size [man] |
|
# rpm -q -a --qf '%10{SIZE}t%{NAME}n' | sort -k1,1n |
show space used by rpm packages installed sorted by size (fedora, redhat and like) [man] |
|
|
|
|
|
|
|
|
|
Translated by:
LinuxGuide.it team
| become translator! |
|
|
| |
|
|
|
|