Linux Fundamentals 1 — TryHackMe Answers | by Deepti Gupta
Platform: TryHackMe
Room: Linux Fundamentals 1
Room URL: https://tryhackme.com/room/linuxfundamentalspart1
Please attempt the room yourself before using this as a reference.
Answers:
Task 2 : A bit of background on Linux
Q) Research: What year was the first release of a Linux operating system?
A) 1991
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?
Get Deepti Gupta’s stories in your inbox
Join Medium for free to get updates from this writer.
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? Note: The “access.log” file is located in the “/home/tryhackme/” directory.
A) THM{ACCESS}
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
This content is intended for educational purposes only.
Please follow TryHackMe’s learning guidelines and terms of use.







