Tryhackme — Linux Fundamentals Part 2

0xNehru
1 min readJun 2, 2021

--

Tryhackme — Linux Fundamentals Part 2

#1 :- What directional arrow key would we use to navigate down the manual page?

Answer :-down

#2 :- What flag would we use to display the output in a “human-readable” way?

Answer :- -h

#3 :- How would you create the file named “newnote”?

Answer :-touch newnote

#4 :- On the deployable machine, what is the file type of “unknown1” in “tryhackme’s” home directory?

Answer :-ASCII text

#5 :- How would we move the file “myfile” to the directory “myfolder”

Answer :-mv myfile myfolder

#6 :- What are the contents of this file?

Answer :-THM{FILESYSTEM}

#7 :- On the deployable machine, who is the owner of “important”?

Answer :-user2

#8 :- What would the command be to switch to the user “user2”?

Answer :-su user2

#9 :- Output the contents of “important”, what is the flag?

Answer :-THM{SU_USER2}

#10 :- What is the directory path that would we expect logs to be stored in?

Answer :- /var/log

#11 :- What root directory is similar to how RAM on a computer works?

Answer :-/tmp

#12 :- Name the home directory of the root user

Answer :-/root

--

--

0xNehru
0xNehru

No responses yet