THM | Linux Fundamentals Part 1
Linux Fundamentals | Linux Fundamentals Part 1 | Summary:
This series of walkthroughs aims to help out complete beginners with finishing the Pre Security Path on the TryHackMe website. It is based on the learning content provided in the Linux Fundamentals Part 1 room.
Disclaimer: Please note that this write-up is NOT intended to replace the original room or its content, but rather serve as supplementary material for those who are stuck and need additional guidance. This walkthrough provides one (of the many) possible solution to the challenges, without revealing any flags or passwords directly.
Task | 1 | Introduction
Question 1: Let's get started!
No answer needed
Task | 2 | A Bit of Background on Linux
Question 1: Research: What year was the first release of a Linux operating system?
1991
Task | 3 | Interacting With Your First Linux Machine (In-Browser)
Question 1: I've deployed my first Linux machine!
No answer needed
Task | 4 | Running Your First few Commands
Question 1: If we wanted to output the text "TryHackMe", what would our command be?
echo "TryHackMe"
Question 2: What is the username of who you're logged in as on your deployed Linux machine?
tryhackme
Task | 5 | Interacting With the Filesystem!
Question 1: On the Linux machine that you deploy, how many folders are there?
4
Question 2: Which directory contains a file?
folder4
Question 3: What is the contents of this file?
Hello World
Question 4: Use the cd command to navigate to this file and find out the new current working directory. What is the path?
/home/tryhackme/folder4
Task | 6 | Searching for Files
Question 1: Use grep on "access.log" to find the flag that has a prefix of "THM". What is the flag?
<flag>
Question 2: And I still haven't found what I'm looking for!
No answer needed
Task | 7 | An Introduction to Shell Operators
Question 1: If we wanted to run a command in the background, what operator would we want to use?
&
Question 2: If I wanted to replace the contents of a file named "passwords" with the word "password123", what would my command be?
echo password123 > passwords
Question 3: Now if I wanted to add "tryhackme" to this file named "passwords" but also keep "passwords123", what would my command be
echo tryhackme >> passwords
Question 4: Now use the deployed Linux machine to put these into practice
No answer needed
Task | 8 | Conclusions & Summaries
Question 1: I'll have a play around!
No answer needed
Task | 9 | Linux Fundamentals Part 2
Question 1: Terminate the machine deployed in this room from task 3.
No answer needed
Question 2: Join Linux Fundamentals Part 2!
No answer needed