Hacking and protecting the secret server
Our mission is to get inside this server and fix the security:
In the previous unit, we learnt to interact with the shell, to send commands to the core of the computer. We learnt to navigate the folders (called directories) and to find out what was inside them. The server we want to secure has no keyboard or screen, so we will need commands to talk to its shell.
You should have learnt the following commands:
whoami
pwd
to print working directoryls
and the optionsls -a
,ls -l
(Go ahead and try 3 options at once in the terminal:ls -alh
: which means: list --all --list --human-readable)cd
to change directorytouch somefile.txt
to create some file.cat somefile.txt
to see the content of the file
and finally some navigation tricks like cd ..
to move up a directory level or cd ~
to move back to the home folder.
Let's learn some more interesting commands.