为什么 du 的子目录值总和不等于总数?

Tho*_*hle 3 linux command-line disk-usage

我正在尝试用于du调查目录中的磁盘使用情况,如下所示:

du -hd1 | sort -rh
Run Code Online (Sandbox Code Playgroud)

这给了我一个如下所示的列表

61G     .
7.9G    ./A
5.1G    ./B
2.7G    ./.C
1.6G    ./.D
1.2G    ./.E
1.2G    ./F
850M    ./.G
724M    ./H
666M    ./I
281M    ./J
249M    ./.K
150M    ./.L
Run Code Online (Sandbox Code Playgroud)

列表的其余部分总和不到 1GB,并且该目录中没有直接包含大文件:

ls -Slh
total 1.8M
...
Run Code Online (Sandbox Code Playgroud)

总 61GB 和不到 25GB 的目录总和之间的差异的来源是什么?

Tho*_*hle 5

上面的调用错过了大的隐藏文件。这是结果du -a

du -ahd1 .  | sort -rh | head
61G     .
38G     ./.xsession-errors
7.9G    ./A
5.1G    ./B
...
Run Code Online (Sandbox Code Playgroud)