du, sort 명령어 조합
# du -h * | sort -nr > $HOME/script.txt
* du - estimate file space usage
* -h, --human-readable
* sort - sort lines of text files
* -n, --numeric-sort (compare according to string numerical value)
* -r, --reverse (reverse the result of comparisons, 내림차순)
'LINUX' 카테고리의 다른 글
ext3와 ext4 파일 시스템에서 삭제한 파일을 복구하는 방법 (0) | 2013.10.22 |
---|---|
맨페이지 출력 (0) | 2013.10.22 |
현재 쉘(SHELL)의 PID 확인 방법 (0) | 2013.10.19 |
whereis, which 명령어 차이 (0) | 2013.10.19 |
리눅스 머신 초기 설정 정리 (0) | 2013.10.19 |
댓글