lv8#
ssh [email protected] -p 2220
#TESKZC0XvTetK0S9xNwm25STk5iWrBvPThe 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 -u로 중복제거
bandit8@bandit:~$ sort data.txt | uniq -u
#EN632PlfYiZbn3PhVK3XOGSlNInNE00tuniq#
- 기본적으로 중복되는건 하나만 표시함 (sort랑 같이쓰임)
- -u 중복되지 않는것만 표시함
- -d 중복된것만 표시
- -c 중복된개수 세기
- -i 대소문자 무시