[OverTheWire System - Bandit] Level 8 >> Level 9

Level Goal

The password for the next level is stored in the file data.txt and is the only line of text that occurs only once

 

다음 레벨의 암호는 data.txt 파일에 저장되며 한 번만 나타나는 텍스트의 유일한 줄입니다.

Hint

1. Linux pipe

2. Sort 명령어

3. Uniq 명령어

Write Up

더보기

나는 문제 설명을 보고 "uniq 명령어를 사용하면 손 쉽게 풀 수 있겠다"라고 생각했지만, 실패하였다.
인터넷에 검색한 결과 sorting을 안 해줘서 실패하였다고 하여 sort 명령어를 통해 sorting 후 uniq 명령어를 사용하였다.

 

그 결과 data.txt에서 유일한 값을 출력하였다.

 

bandit9 :: UsvVyFSfZZWbi6wgC7dAFyFuR6jQQUhR