TryHackMe: Linux Fundamentals — Part 1 a Walkthrough
This is a step-by-step walkthrough of TryHackMe’s Linux Fundamentals — Part 1 room, with screenshots.
Task 1: Introduction
Question 1: No answer needed
Task 2: A Bit of Background on Linux
Question 2: Research: What year was the first release of a Linux operating system?
Per THM: 1991
Task 3: Interacting With Your First Linux Machine (In-Browser)
Question 3: No answer needed
Click on “Start Machine”
This will load both the Active Machine Information and the Linux terminal needed for this exercise.
Task 4: Running Your First Few Commands
Question 4: If we wanted to output the text “TryHackMe”, what would our command be?
Question 5: What is the username of who you’re logged in as on your deployed Linux machine?
Task 5: Interacting with the File System
Question 6: On the Linux machine that you deploy, how many folders are there?
Question 7: Which directory contains a file?
Question 8: What is the contents of this file?
Question 9: Use the cd command to navigate to this file and find out the new current working directory. What is the path?
Task 6: Searching For Files
Question 10: Use grep on “access.log” to find the flag that has a prefix of “THM”. What is the flag?
Question 11: And I still haven’t found what I’m looking for!
No answer needed
Task 7: An Introduction to Shell Operators
Question 12: If we wanted to run a command in the background, what operator would we want to use?
Question 13: If I wanted to replace the contents of a file named “passwords” with the word “password123”, what would my command be?
Question 14: Now if I wanted to add “tryhackme” to this file named “passwords” but also keep “passwords123”, what would my command be
Question 15: Now use the deployed Linux machine to put these into practice
Task 8: Conclusions and Summaries
Question 16: I’ll have a play around!
Task 9: Linux Fundamentals Part 2
Thank you for reading. If you think I bring you value, please clap and subscribe for more content.