Teaching Cyber Security (Unit2 - Part 1)

in cybersecurity •  7 years ago 

Hacking and protecting the secret server

Our mission is to get inside this server and fix the security:

server_in_holland.jpg

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 directory
  • ls and the options ls -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 directory
  • touch 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.

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!