Adsense
Popular Posts
- Install APXS in Redhat Linux
- MySQL workbench -"Could not decrypt password cache"
- Transfer modules between sites
- JavaScript, remove trailing insignificant zeros after toFixed function
- Set Windows path command line
- datatable order by nunmeric
- MySQL date created and date modified
- super(props) in React
- PHP, dump varailbes in a format way
- React: connect(mapStateToProps, mapDispatchToProps)
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