This is the write up for the room Linux Fundamentals Part 3 on Tryhackme
- You can read part one here Linux Fundamentals Part 1
- You can read part two here Linux Fundamentals Part 2
Make connection with VPN or use the attackbox on Tryhackme site to connect to the Tryhackme lab enviroment
The Tasks
Task 1:
Press on deploy to deploy the VM connected to this room after reading the task. Press complete on both questions after reading them. No answers are needed. Once deployed make note of the IP as you need it to connect to the machine from your terminal
After you see the IP address SSH into the machine as learned in previous parts
Task 2:
Read all that is in the task and press complete
Task 3:
Read the task. The answer of the first question can be found in the first screenshot
The answer of the second question can be found in the last screenshot
Task 4:
Read the task. The answer for the question is actually in the question itself and what command the task is teaching you
Task 5:
Read the task.
To find the answer for the first question we need tp type the command man find in the terminal
The answer of the second question can be found in the first screenshot of the task
the last question can be found in the last screenshot
Task 6:
The first answer can be found in the last screenshot
The answer of the second question can be found in the question itself
Task 7:
Read the task and note that we need to create a directory named Test and inside that directory we create file called test1234, Then we need to find and the binary shiba4 to get to the next user
Type in the following command find /* | grep shiba4 > found.txt You can do find /* | grep shiba4 this will also give you a list with files you do not have acces to. So I pipe the results into found.txt and output this on screen using cat found.txt
Now run the file /opt/secret/shiba4
For the next tasks use the shiba4 account
Task 8:
Read all that is in the task and press complete
Task 9:
Read the task. To answer these questions we need to type in man sudo
Task 10:
The answer of the question is in the last screenshot
Task 11:
Read all that is in the task and press complete
Task 12:
Read all that is in the task and press complete
Task 13:
Read all that is in the task and press complete
Task 14:
Read all that is in the task and press complete
Task 16:
Read all that is in the task and press complete
Conclusion of room Linux Fundamentals part 3
We have learned about the following commands
- cp
- mkdir
- ln
- find
- grep
- sudo
We have learned basic shell scripting and about the linux file system. We also now know how to install packages