11/06/2016

Ubuntu : คำสั่งดูขนาด Folder แต่ละ Folder มีขนาดเท่าไหร่

Ubuntu : คำสั่งดูขนาด Folder แต่ละ Folder มีขนาดเท่าไหร่
Code:
du /Folder -h --max-depth 1 | grep "[0-9]G"

Example:
du /DATA -h --max-depth 1 | grep "[0-9]G"

http://www.mindphp.com/%E0%B8%9A%E0%B8%97%E0%B8%84%E0%B8%A7%E0%B8%B2%E0%B8%A1/66-server-hosting/2371-%E0%B9%80%E0%B8%8A%E0%B9%87%E0%B8%84%E0%B8%9E%E0%B8%B7%E0%B9%89%E0%B8%99%E0%B8%97%E0%B8%B5%E0%B9%88-%E0%B8%82%E0%B8%AD%E0%B8%87-user-%E0%B9%81%E0%B8%95%E0%B9%88%E0%B8%A5%E0%B8%B0%E0%B8%84%E0%B8%99%E0%B9%83%E0%B8%99-linux-unix.html

No comments:

Post a Comment