GNU/Linux Command: Viewing Resources

commandline session

$df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda1       224G  7.5G  205G   4% /
udev             10M     0   10M   0% /dev
tmpfs           336M  664K  336M   1% /run
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs           672M   19M  1004M   3% /run/shm
$du -sh /etc/
du: cannot read directory ‘/etc/polkit-1/localauthority’: Permission denied
du: cannot read directory ‘/etc/ssl/private’: Permission denied
7.6M	/etc/
$sudo du -sh /etc/
[sudo] password for jeffrin:
7.7M	/etc/
$free
             total       used       free     shared    buffers     cached
Mem:       3440280    1430032    2010248          0      93552     501752
-/+ buffers/cache:     834728    2605552
Swap:            0          0          0
$sudo du -sh /usr/
3.6G	/usr/
$sudo du -sh
2.6G	.
$

following video tutorial content may not be accurate