linuxBandit Level 5 β†’ Level 6

In this challenge, we will the find and file commands, to show its help menu:

find --help

CD to the inhere directory and list the files:

There is a lot of folders, now we will use the find and file commands to find a file with these attributes:

  • $(): To pass the result to the file command.

  • .: To search in the directory we are in.

  • -size: To search for specific size, c represents bytes in find.

  • -not: To not show the results for the options after that option.

  • -executable: To show executable files.

Lets read that file:

Here is the password for the next user.

Last updated