CHALLENGE INFORMATION
Platform: TryHackMe
Path: Pre Security
Module: Linux Fundamentals
Room: Linux Fundamentals Part 2
Description: Continue your learning Linux journey with part two. You will be learning how to log in to a Linux machine using SSH, how to advance your commands, file system interaction.
Introduction
Question 1: Let’s proceed!
No anwer needed
Accessing Your Linux Machine Using SSH (Deploy)
Question 1: I’ve logged into the Linux Fundamentals Part 2 machine using SSH!
No anwer needed
Introduction to Flags and Switches
This section covers the use of manual pages and command-line flags to modify command behavior.
Question 1: Explore the manual page of the ls command.
No anwer needed
Question 2: What directional arrow key would we use to navigate down the manual page?
down
Question 3: What flag would we use to display the output in a human-readable way?
-h
Filesystem Interaction Continued
This section expands on file manipulation commands, including creating, identifying, moving, and reading files.
Question 1: How would you create the file named newnote?
touch newnote
Question 2: On the deployable machine, what is the file type of unknown1 in tryhackme’s home directory?
ASCII text
Question 3: How would we move the file myfile to the directory myfolder ?
mv myfile myfolder
Question 4: What are the contents of this file?
<redacted-flag>
Question 5: Continue to apply your knowledge and practice the commands from this task.
No answer needed
Permissions 101
This section introduces file ownership and user switching using the su command.
Question 1: On the deployable machine, who is the owner of important?
user2
Question 2: What would the command be to switch to the user user2?
su user2
Question 3: Now switch to this user user2 using the password user2.
No answer needed
Question 4: Output the contents of important, what is the flag?
<redacted-flag>
Common Directories
This section covers standard Linux directory structures and their purposes.
Question 1: Read me!
No answer needed
Question 2: What is the directory path that would we expect logs to be stored in?
/var/log
Question 3: What root directory is similar to how RAM on a computer works?
/tmp
Question 4: Name the home directory of the root user.
/root
Question 5: Now apply your learning and navigate through these directories on the deployed Linux machine.
No answer needed
Conclusions and Summaries
Question 1: Proceed to the next task to continue your learning.
No answer needed
Linux Fundamentals Part 3
Question 1: Terminate the machine from task 2!
No answer needed
Question 2: Join Linux Fundamentals Part 3!
No answer needed