TryHackMe : Linux Fundamental Part 1 Write-up
Room Link:- https://tryhackme.com/room/linuxfundamentalspart1
Profile :- https://tryhackme.com/p/DrAnonymous95
YouTube:- http://www.youtube.com/c/AnonymousWorld95
Task 1
Welcome to the first part of the “Linux Fundamentals” room series. You’re most likely using a Windows or Mac machine, both are different in visual design and how they operate. Just like Windows, iOS and MacOS, Linux is just another operating system and one of the most popular in the world powering smart cars, android devices, supercomputers, home appliances, enterprise servers, and more.
We’ll be covering some of the history behind Linux and then eventually starting your journey of being a Linux-wizard! This room will have you:
- Running your very first commands in an interactive Linux machine in your browser
- Teaching you some essential commands used to interact with the file system
- Introduce you to how users and groups work on Linux (and what this means for us as penetration testers)
Lets get Started
NO answer needed
TASK 2
Research: What year was the first release of a Linux operating system?
Answer:- 1991
TASK 3
In task 3 you need to just deploy the machine. So simply click on start machine and you will get a browser based machine .
I’ve deployed my first Linux machine!
No answer needed
TASK 4
- If we wanted to output the text “TryHackMe”, what would our command be?
Answer:- echo TryHackMe
2. What is the username of who you’re logged in as on your deployed Linux machine?
Answer:- tryhackme
Task 5
- On the Linux machine that you deploy, how many folders are there?
Answer:- 4
2.Which directory contains a file?
Answer:- Folder4
3. What is the contents of this file?
Answer:- Hello World!
4. Use the cd command to navigate to this file and find out the new current working directory. What is the path?
Answer:- /home/tryhackme/folder4
Task 6
This task isabout two commands “grep” and “find”
- Use grep on “access.log” to find the flag that has a prefix of “THM”. What is the flag?
Answer:- THM{ACCESS}
2.And I still haven’t found what I’m looking for!
Answer:- No Answer Needed
TASK 7
1.If we wanted to run a command in the background, what operator would we want to use?
Answer:- &
2. If I wanted to replace the contents of a file named “passwords” with the word “password123”, what would my command be?
Answer:- echo password123 > passwords
3. Now if I wanted to add “tryhackme” to this file named “passwords” but also keep “passwords123”, what would my command be
Answer:- echo tryhackme >> passwords
4. Now use the deployed Linux machine to put these into practice
Answer:- No Answer Needed
TASK 8 and TASK 9
Read the description
No answer needed
— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —
Follow me here :-
LinkedIn:- https://www.linkedin.com/in/vinayak-agrawal-2aa5a61ab/
Twitter:- https://twitter.com/Dr_Anonymous95