It's an illusion, because *
doesn't expand to hidden files and directories.
See this for some hints on how to deal with .*
.
Useful tool: ncdu
.
Я использую Ubuntu 14.04. Я не понимаю этого:
>> cd /home >> sudo du -shc * | sort -hr 13G total 13G myuser >> ls -a . .. myuser >> cd myuser >> sudo du -shc * | sort -hr 6.4G total ...
Если myuser - единственная папка в / home, почему home 13G, а myuser - только 6.4G?
Редактировать: вывод df
Filesystem 1K-blocks Used Available Use% Mounted on udev 3924400 4 3924396 1% /dev tmpfs 787040 1204 785836 1% /run /dev/sda5 127862492 30653824 90690500 26% / none 4 0 4 0% /sys/fs/cgroup none 5120 0 5120 0% /run/lock none 3935184 176 3935008 1% /run/shm none 102400 12 102388 1% /run/user
It's an illusion, because *
doesn't expand to hidden files and directories.
See this for some hints on how to deal with .*
.
Useful tool: ncdu
.