디렉토리 및 파일위치 확인 명령어현재 작업 디렉토리 위치 확인 : pwd pwd는 "Print Working Directory"의 약어로서 현재 작업 디렉토리의 위치를 확인하는 명령어이다.작업 디렉토리의 이동 : cd cd는 "Change Directory"의 약어로서 작업 디렉토리의 위치를 변경하는 쉘 내부 명령어이다. 즉, 현재 위치한 디렉토리에서 지정된 디렉토리로 이동할 때 사용하는 명령어이다. 그냥 "cd"라고만 하면 서버 로그인 시에 처음 위치했던 자신의 홈디렉토리로 이동한다. "cd ~"라고 명령을 내려도 홈디렉토리로 이동하는데, "~" 표시는 홈디렉토리를 의미하여 "~/bin"과 같이 뒤에 하위 디렉토리를 입력해도 된다.cd / : 루트 디렉토리(/)로 이동cd . : 현재 디렉토리(현위치)..
http://overthewire.org/wargames/bandit/bandit4.html Bandit Level 3 → Level 4Level GoalThe password for the next level is stored in a hidden file in the inhere directory.Commands you may need to solve this levells, cd, cat, file, du, find Level 3에서 Level 4로 가기 위해서는 'inhere'이라는 디렉토리 안에 숨겨진 파일을 찾아야 한다. ssh에 접속한 후 홈 디렉토리에서 ls 명령어를 이용하여 inhere 디렉토리와 inhere 디렉토리 안에 있는 숨김파일을 확인해 보겠다. 명령어 ls 옵션 -a : 디렉토..
OverTheWire Bandit을 풀어보면서 리눅스의 기초적인 명령어를 익혀보려 한다, http://overthewire.org/wargames/bandit/bandit0.html Bandit Level 0Level GoalThe goal of this level is for you to log into the game using SSH. The host to which you need to connect is bandit.labs.overthewire.org, on port 2220. The username is bandit0 and the password is bandit0. Once logged in, go to the Level 1 page to find out how to beat Level ..