Files
K.B.Dharun Krishna 5c26174aa9 pages/*: update links and more info link script (#11390)
* pages/*: update links and more info link script

Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

* cleanup: reformat code

* ax-webapp: fix link

* curl: fix false positive

Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>

---------

Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
2023-11-06 23:14:12 +05:30

29 lines
861 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# du
> 硬碟使用量:估算每個檔案以及目錄所佔用的硬碟容量。
> 更多資訊:<https://www.gnu.org/software/coreutils/du>.
- 以給定單位B/KiB/MiB列出目錄和所有子目錄的大小
`du -{{b|k|m}} {{目錄路徑}}`
- 以人類可讀形式(自動選擇單位)列出目錄和所有子目錄的大小:
`du -h {{目錄路徑}}`
- 以人類可讀形式(自動選擇單位)列出單一目錄大小:
`du -sh {{目錄路徑}}`
- 以人類可讀形式(自動選擇單位)列出目錄以及底下所有檔案大小:
`du -ah {{目錄路徑}}`
- 以人類可讀形式列出目錄和任何子目錄的大小,最多 N 層:
`du -h --max-depth=N {{目錄路徑}}`
- 以人類可讀形式列出目前目錄子目錄中所有 `.jpg` 檔案的大小,並在最後顯示累積總數:
`du -ch {{*/*.jpg}}`