Bandit Level 4 - OverTheWire

The password is in a hidden file in the inhere directory. 

bandit3@melinda:~$ ls
inhere
bandit3@melinda:~$ cd inhere/
bandit3@melinda:~/inhere$ ls -al
total 12
drwxr-xr-x 2 root root 4096 Jun 6 13:59 .
drwxr-xr-x 3 root root 4096 Jun 6 13:59 ..
-rw-r----- 1 bandit4 bandit3 33 Jun 6 13:59 .hidden
bandit3@melinda:~/inhere$ cat .hidden
pIwrPrtPN36QITSp3EQaw936yaFoFgAB
view raw bandit_3 hosted with ❤ by GitHub

And that's it. The key here is to use the -al parameters for the ls command. The a tells the command to not ignore file names beginning with a period(.). The l tells it to use the long list format. I find that I like this format by default most of the time because it reveals permissions, ownership and whether or not we're dealing with files or directories (among other things). 

And now for the next level.