Knowledge Hub
Linux Fundamentals Part 2
TryHackMe12 answered prompts
Linux Fundamentals Part 2 TryHackMe walkthrough with 12 answered prompts.
Prompts and answers
-
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
-
How 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