
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
sort : 주어진 파일의 텍스트를 정렬
uniq : 연속되는 중복된 행을 필터링하여 중복을 제거하는 데 사용
uniq [옵션] [입력 파일]
-c: 각 행의 중복 횟수를 표시
-d: 중복되는 행만 출력
-i: 대소문자를 구분하지 않고 중복을 제거
-u: 한 번만 나타나는 행만 출력
-f N: 앞의 N 필드를 무시
-s N: N 번째 문자부터 시작하여 중복을 체크
sort data.txt | uniq -u
bandit8@bandit:~$ sort data.txt | uniq -u
EN632PlfYiZbn3PhVK3XOGSlNInNE00t
bandit9 : EN632PlfYiZbn3PhVK3XOGSlNInNE00t