디렉토리 및 하드 디스크 용량 확인du du는 "Disk Usage"의 약어로서 파일 및 디렉토리의 사용량을 확인할 때 사용하는 명령어이다. 이 명령어는 df 명령어와 함께 리눅스에서 디스크의 사용량을 점검하고 확인하기 위해 자주 사용된다. 즉, df 명령어가 파티션(파일 시스템) 단위의 디스크사용량을 점검한다면 du 명령어는 특정 디렉토리 또는 파일을 단위로 하여 그 용량을 확인하는 명령어이다. 아무 옵션 없이 du 명령을 내리면 해당 디렉토리의 서브 디렉토리별 용량 및 총합을 출력한다.-a : 모든 파일들의 정보를 출력한다. 초기값은 경로(디렉토리)에 대한 정보만 출력한다.-b : 출력 단위를 KB 대신 Byte로 한다.-c : 모든 파일의 디스크 사용 정보를 먼저 보여주고 나서 합계를 출력한다. 초..
http://overthewire.org/wargames/bandit/bandit13.htmlBandit Level 12 → Level 13Level GoalThe password for the next level is stored in the file data.txt, which is a hexdump of a file that has been repeatedly compressed. For this level it may be useful to create a directory under /tmp in which you can work using mkdir. For example: mkdir /tmp/myname123. Then copy the datafile using cp, and rename i..