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?
down
What flag would we use to display the output in a "human-readable" way?
-h
How would you create the file named "newnote"?
touch newnote
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 istryhackme
, refer to the Accessing Your Linux Machine Using SSH(Deploy if stuck). This will allow you to access thetryhackme
folder that has theimportant
,myfile
, andunknown1
files as well asmyfolder
folder which will be relevant in answering some questions about this roomHow would we move the file "myfile" to the directory "myfolder"
mv myfile myfolder
What 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 user2
Output 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/log
What root directory is similar to how RAM on a computer works?
/tmp
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.