# Linux Fundamentals: Linux Fundamentals Part 2 (TryHackMe)

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
    
    ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1730026485156/fc4894c7-e351-4d08-a33c-aba3d1d0d642.png align="center")
    
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`
    
    ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1730026595589/3d3be70a-0f0f-416e-aa13-df702c65f4fa.png align="center")
    
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.
