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
What directional arrow key would we use to navigate down the manual page?
downWhat flag would we use to display the output in a "human-readable" way?
-hHow would you create the file named "newnote"?
touch newnoteOn the deployable machine, what is the file type of "unknown1" in "tryhackme's" home directory?
ASCII textTo interact with the machine run this command
$ ssh tryhackme@10.10.157.21the IP Address might be different check yours, the password istryhackme, refer to the Accessing Your Linux Machine Using SSH(Deploy if stuck). This will allow you to access thetryhackmefolder that has theimportant,myfile, andunknown1files as well asmyfolderfolder which will be relevant in answering some questions about this room
How would we move the file "myfile" to the directory "myfolder"
mv myfile myfolderWhat are the contents of this file?
THM{FILESYSTEM}On the deployable machine, who is the owner of "important"?
user2
What would the command be to switch to the user "user2"?
su user2Output the contents of "important", what is the flag?
THM{SU_USER2}What is the directory path that would we expect logs to be stored in?
/var/logWhat root directory is similar to how RAM on a computer works?
/tmpName 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.




