**Level Information**
> [!important] The password for the next level is stored in a file called **spaces in this filename** located in the home directory
>
> **Commands you may need to solve this level:**
>
> - [ls](https://manpages.ubuntu.com/manpages/noble/man1/ls.1.html) , [cd](https://manpages.ubuntu.com/manpages/noble/man1/cd.1posix.html) , [cat](https://manpages.ubuntu.com/manpages/noble/man1/cat.1.html) , [file](https://manpages.ubuntu.com/manpages/noble/man1/file.1.html) , [du](https://manpages.ubuntu.com/manpages/noble/man1/du.1.html) , [find](https://manpages.ubuntu.com/manpages/noble/man1/find.1.html)
- First, SSH into `bandit2` and list all files in the current directory.
- In this level, there is a file named `"spaces in this filename"` which contains spaces in its name.
- If you try to use the `cat` command directly, it will only recognise the first word and return an error, as the file “spaces” does not exist.
- To properly reference the file, enclose the filename in quotation marks.
- Use the `cat` command with quotation marks to display the file’s contents and retrieve the password for the next level.
![[Level 2 - 3.png]]