level17→level18
There are 2 files in the homedirectory: passwords.old and passwords.new. The password for the next level is in passwords.new and is the only line that has been changed between passwords.old and passwords.new
NOTE: if you have solved this level and see ‘Byebye!’ when trying to log into bandit18, this is related to the next level, bandit19
cat, grep, ls, diff

password.old 에서 password.new 로 바뀐 유일한 line 이 비밀번호라고 한다.
그러면 단순 비교를 하면 되니까
diff 명령을 사용한다.
u 또는 -unified: 통합된 출력 형식으로 차이를 보여줍니다.c 또는 -context: 컨텍스트 출력 형식으로 차이를 보여줍니다.r 또는 -recursive: 디렉토리와 그 내부 파일을 재귀적으로 비교합니다.q 또는 -brief: 파일이 다른지 여부만을 표시합니다.i 또는 -ignore-case: 대소문자를 무시하고 비교합니다.여기서는 diff -u passwords.old passwords.new

여기서 차이나는 부분만 출력해 주었는데, passwords.new 를 뒤에 입력하였으므로 아래에 있는 것이 비밀번호 일 것이다.
비밀번호 : hga5tuuCLF6fFzUpnagiMN8ssu9LFrdg