In this walk through, we will be going through the Linux Fundamentals Part 2 from Tryhackme. This room will continue our Linux learning journey with part two. We will be learning how to log in to a Linux machine using SSH, how to advance our commands, file system interaction. On that note, let’s get started.
Task 1 – Introduction
Task 2 – Accessing Your Linux Machine Using SSH (Deploy)
Deploying Your Linux machine
Task 3 – Introduction to Flags and Switches
Question 1 – Explore the manual page of the ls command
Done
Task 4 – Filesystem Interaction Continued
Question 1 – How would you create the file named “newnote”?
touch newnote
Question 2 – On the deployable machine, what is the file type of “unknown1” in “tryhackme’s” home directory?
ASCII text
Question 3 – How would we move the file “myfile” to the directory “myfolder”
mv myfile myfolder
Question 4 – What are the contents of this file?
THM{FILESYSTEM}
Question 5 – Continue to apply your knowledge and practice the commands from this task.
Done
Task 5 – Permissions 101
Question 1 – On the deployable machine, who is the owner of “important”?
user2
Question 2 – What would the command be to switch to the user “user2”?
su user2
Question 3 – Now switch to this user “user2” using the password “user2”
Done
Question 4 – Output the contents of “important”, what is the flag?
THM{SU_USER2}
Task 6 – Common Directories
Question 1 – Read me!
Done
Question 2 – What is the directory path that would we expect logs to be stored in?
/var/log
Question 3 – What root directory is similar to how RAM on a computer works?
/tmp
Question 4 – Name the home directory of the root user
/root
Task 7 – Conclusions and Summaries
Task 8 – Linux Fundamentals Part 3
Also Read: Tryhackme – Linux Agency
So that was “Linux Fundamentals Part 2” for you. In the previous part, we have covered the basics of Linux and this we looked into the Linux system navigation and file structure and commands associated with it. Further, solved a bunch of questions to practice the commands on the terminal. This is a part of a three parts series on Tryhackme and i will be covering all of them. Till then, allow me to leave, will meet you in the next one, but remember to “Keep Hacking”.