Adsense
Popular Posts
- Code update from PHP 7.4 to PHP 8.1 - PhpSpreadsheet
- MySQL workbench -"Could not decrypt password cache"
- Code update from PHP 7.4 to PHP 8.1 - Worksheet/Iterator.php
- Rendering HTML tags inside textarea
- axios handle blob type data
- Unix Utils and wget in Windows
- increase mysql query speed
- Setup vi syntax for PHP
- Get WAMP running on EC2
- add comment to table columns in phpMyAdmin
Friday, October 31, 2014
Linux, list directory size and sort
Linux, command to list directory size and sort:, for example for directory /
sudo du -mhc / |sort -h
For only total size
sudo du -mhcs / |sort -h
Total disk available in G
df -H
Return:
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_sys-lv_root
279G 12G 253G 5% /
tmpfs 2.1G 0 2.1G 0% /dev/shm
/dev/sda1 500M 86M 388M 19% /boot
Labels:
Linux
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment