I'm doing OverTheWire and looking for a password hidden somewhere on the server. I did ls -a to view the hidden contents inside the current directory and received this as the output:
. .. .bash_logout .bashrc .profile
I checked the file type of .
and it says it's a directory:
bandit6@bandit: file ./.
./.: directory
I then tried to cd
into this directory but I didn't have any success, it accepted the command but I just stayed in the same directory.
I'm not sure if the syntax is wrong or if the .
and ..
directories refer to the current and parent directory respectively.
Sorry if this is painfully obvious, but I am new to the command line.