THM | Linux Fundamentals Part 2
Linux Fundamentals | Linux Fundamentals Part 2 | Summary:
This series of walkthroughs aims to help out complete beginners with finishing the Pre Security Path on the TryHackMe website. It is based on the learning content provided in the Linux Fundamentals Part 2 room.
Disclaimer: Please note that this write-up is NOT intended to replace the original room or its content, but rather serve as supplementary material for those who are stuck and need additional guidance. This walkthrough provides one (of the many) possible solution to the challenges, without revealing any flags or passwords directly.
Task | 1 | Introduction
Question 1: Let's proceed!
No anwer needed
Task | 2 | Accessing Your Linux Machine Using SSH (Deploy)
Question 1: I've logged into the Linux Fundamentals Part 2 machine using SSH!
No anwer needed
Task | 3 | Introduction to Flags and Switches
Question 1: Explore the manual page of the ls command
No anwer needed
Question 2: What directional arrow key would we use to navigate down the manual page?
down
Question 3: What flag would we use to display the output in a "human-readable" way?
-h
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?
<flag>
Question 5: Continue to apply your knowledge and practice the commands from this task.
No answer needed
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"
No answer needed
Question 4: Output the contents of "important", what is the flag?
<flag>
Task | 6 | Common Directories
Question 1: Read me!
No answer needed
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
Question 5: Now apply your learning and navigate through these directories on the deployed Linux machine.
No answer needed
Task | 7 | Conclusions and Summaries
Question 1: Proceed to the next task to continue your learning
No answer needed
Task | 8 | Linux Fundamentals Part 3
Question 1: Terminate the machine from task 2!
No answer needed
Question 2: Join Linux Fundamentals Part 3!
No answer needed