Level 8 → 9
Last updated
Last updated
The password for the next level is stored in the file data.txt and is the only line of text that occurs only once
List the content of the current directory:
This confirms the presence of the data.txt file.
Display the content of the data.txt file:
Search for the line of text that occurs only once:
sort data.txt
: Sorts the lines alphabetically
|
: Pipes the output to the next command
uniq -u
: Filters for unique lines
The password retrieved: 4CKMh1JI91bUIZZPXDqGanal4xvAg0JM
Access the next level:
Enter the password when prompted.
The sort
command is useful for organizing data for further processing
uniq -u
filters for lines that appear only once in the input
Piping commands
together can create powerful data processing workflows
Sometimes finding unique information requires multiple steps of data manipulation
-- Othmane