리눅스 분류
각 디렉토리의 전체 용량 알아보기
작성자 정보
- hanserver 작성
- 작성일
컨텐츠 정보
- 1,492 조회
- 0 추천
- 목록
본문
du 명령어 중 --max-depth옵션을 사용하면 하위에 있는 각 디렉토리의 용량을 알아 볼 수 있다.
예>
[root@test /usr]# ls
X11R6 doc i386-redhat-linux info libexec sbin tmp
bin etc i486-linux-libc5 kerberos local share
dict games include lib man src
[root@test /usr]# du --max-depth=1 -h
34M ./doc
148M ./lib
12M ./man
2.7M ./X11R6
31M ./bin
408k ./dict
4.0k ./etc
24k ./games
6.3M ./include
3.9M ./info
31M ./local
2.9M ./sbin
48M ./share
231M ./src
52k ./libexec
252k ./i386-redhat-linux
3.4M ./kerberos
5.4M ./i486-linux-libc5
관련자료
-
이전
-
다음
댓글 0
등록된 댓글이 없습니다.