Disk Usage (du)
| info | |
|---|---|
| name | du |
| full name | disk usage |
| aliases | du |
Summarize dis usage of the set of FIELs, recursively for directories. 현재 디렉터리 이하 디스크 사용량을 표시합니다.
USAGE
du [OPTION]... [FILE]... du [OPTION]... --files0-from=F
du [OPTION…] <archive_name>-a,–all: write counts for all files, not just directories. 서브 디렉터리 단위가 아니라 파일마다 디스크 사용량을 표시합니다.-b,–bytes: equivalent to–apparent-size –block-size=1. 표시할 디스크 사용량 단위를 바이트로 지정–h,–human-readable: print sizes in human readable format (e.g., 1K 234M 2G). 표시 내용을 사람이 읽기 쉬운 단위로 표시합니다. 1000배수로 표기됩니다.(-b옵션과 사용시 1024 배수로 표기됩니다.)-s,–summarize: display only a total for each argument. 서브 디렉터리별 사용량 표시를 생략하고 합계 크기만 표시합니다.-d N,-max-depth=N: print the total for a directory (or file, with –all) only if it is N or fewer levels below the command line arugment;–max-depth=0is the same as–summarize. NN단계 서브 디렉터리까지 디스크 사용량을 표시합니다.