Linux Fundamental Part 1 | TryHackMe

Amol Rangari
2 min readApr 22, 2022

This is the 1st room of the complete beginner series that familiarizes the basic Linux concepts, commands, and file operations

Room Link: https://tryhackme.com/room/linuxfundamentalspart

Task 1:

Introduction: no answer needed

Task 2:

a) A Bit of Background on Linux

Research: What year was the first release of a Linux operating system?

Ans 1991

{Simply search on google }

Task 3:

Interacting With Your First Linux Machine (In-Browser)

no answer needed

Task 4:

Running Your First few Commands

a) If we wanted to output the text “TryHackMe”, what would our command be?

echo TryHackMe

{using the echo command to output the text on the terminal }

b) What is the username of who you’re logged in as on your deployed Linux machine?

Tryhackme

{Use the whoami command }

Task 5:

Interacting With the Filesystem!

a) On the Linux machine that you deploy, how many folders are there?

4

{use the ls command to see the folders}

b) Which directory contains a file?

folder4

c) What is the contents of this file?

Hello World

{use the cat command to view the content}

d) Use the cd command to navigate to this file and find out the new current working directory. What is the path?

/home/tryhackme/folder4

{to see the path use pwd command to print the current working directory}

Task 6:

Searching for Files

a) Use grep on “access.log” to find the flag that has a prefix of “THM”. What is the flag?

THM{ACCESS}

b) And I still haven’t found what I’m looking for!

No Answer Needed

Task 7:

An Introduction to Shell Operators

a) If we wanted to run a command in the background, what operator would we want to use?

&

b) If I wanted to replace the contents of a file named “passwords” with the word “password123”, what would my command be?

echo password123 > passwords

{> replace}

c) Now if I wanted to add “tryhackme” to this file named “passwords” but also keep “passwords123”, what would my command be

echo tryhackme >> passwords

{>> appends}

d) Now use the deployed Linux machine to put these into practice

No Answer Needed

Task 8:

Conclusions & Summaries

I’ll have a play around!

No answer needed

Task 9:

a) Terminate the machine deployed in this room from task 3.

No answer needed

b) Join Linux Fundamentals Part 2!

No Answer Needed

--

--

Amol Rangari

I am Cyber Security Expert, Security Researcher and bug hunter