Linux Fundamentals: Linux Fundamentals Part 2 (TryHackMe)

Linux Fundamentals: Linux Fundamentals Part 2 (TryHackMe)

·

2 min read

In this article, I will write a write-up for Linux Fundamentals Part 2 that covers Accessing Your Linux Machine using SSH(deploy), Introduction to Flags and Switches, Filesystem Interaction, Permissions 101, and Common Directories

  1. What directional arrow key would we use to navigate down the manual page? down

  2. What flag would we use to display the output in a "human-readable" way? -h

  3. How would you create the file named "newnote"? touch newnote

  4. On the deployable machine, what is the file type of "unknown1" in "tryhackme's" home directory? ASCII text

    To interact with the machine run this command $ ssh tryhackme@10.10.157.21 the IP Address might be different check yours, the password is tryhackme, refer to the Accessing Your Linux Machine Using SSH(Deploy if stuck). This will allow you to access the tryhackme folder that has the important, myfile, and unknown1 files as well as myfolder folder which will be relevant in answering some questions about this room

  5. How would we move the file "myfile" to the directory "myfolder" mv myfile myfolder

  6. What are the contents of this file? THM{FILESYSTEM}

  7. On the deployable machine, who is the owner of "important"? user2

  8. What would the command be to switch to the user "user2"? su user2

  9. Output the contents of "important", what is the flag? THM{SU_USER2}

  10. What is the directory path that would we expect logs to be stored in? /var/log

  11. What root directory is similar to how RAM on a computer works? /tmp

  12. Name the home directory of the root user /root

Thank you for reading my article. Please leave any questions or comments on improving my learning journey and the THM challenges. We can also connect more on LinkedIn or X.

Did you find this article valuable?

Support Sharon Jebitok by becoming a sponsor. Any amount is appreciated!