THM Linux Fundamentals1 (Updated)

A quick and easy writeup of TryHackMe room ‘Linux Fundamentals Part 1’ *UPDATED*

This room is the first part of the Linux fundamentals rooms designed to teach you about various Linux concepts and built-in tools. This room covers the following topics:
~ Introduction to Linux
~ Executing Commands and Man Pages
~ Running your very first commands in an interactive Linux machine
~ Essential commands used to interact with the file system
~ Users and groups working on Linux

To access the room click on this link.

Task 1: Introduction
No answers needed.

Task 2: A bit of background on Linux
Q: What year was the first release of a Linux operating system?
A: 1991

Task 3: Interacting With Your First Linux Machine (In-Browser)
No answers needed.

Task 4: Running Your First few Commands
Q: If we wanted to output the text “TryHackMe”, what would our command be?
A: echo TryHackMe
Q: What is the username of who you’re logged in as on your deployed Linux machine?
A: tryhackme

Task 5: Interacting With the Filesystem!
Q: On the Linux machine that you deploy, how many folders are there?
A: 4

Q: Which directory contains a file?
A: folder4

Q: What is the contents of this file?
A: Hello World

Q: Use the cd command to navigate to this file and find out the new current working directory. What is the path?
A: /home/tryhackme/folder4

Task 6: Searching for Files
Q: Use grep on “access.log” to find the flag that has a prefix of “THM”. What is the flag?
A: THM{ACCESS}

No answer needed.

Task 7: An Introduction to Shell Operators
Q: If we wanted to run a command in the background, what operator would we want to use?
A: &
Q: If I wanted to replace the contents of a file named “passwords” with the word “password123”, what would my command be?
A: echo password123 > passwords
Q: Now if I wanted to add “tryhackme” to this file named “passwords” but also keep “passwords123”, what would my command be
A: echo tryhackme >> passwords
No answer needed.

Task 8: Conclusions & Summaries
No answers needed.

Task 9: Linux Fundamentals Part 2
No answers needed.

Congratulations! You finished Linux Fundamentals Part 1!

I hope you enjoyed this Writeup and don’t forget to check the other parts of this room! Happy Hacking!

Ethical Hacker| Bug Hunter | C++ Programmer | Web Developer