Home Linux Fundamentals Part 2
Post
Cancel

Linux Fundamentals Part 2

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.

THM Room : https://tryhackme.com/room/linuxfundamentalspart2

TASK 1 Introduction

Let’s proceed!

No Answer.

TASK 2 Accessing Your Linux Machine Using SSH (Deploy)

I’ve logged into the Linux Fundamentals Part 2 machine using SSH!

No Answer.

TASK 3 Introduction to Flags and Switches

Explore the manual page of the ls command

No Answer.

What directional arrow key would we use to navigate down the manual page?

Answer : down

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

Answer : -h

TASK 4 Filesystem Interaction Continued

How would you create the file named “newnote”?

Answer : touch newnote

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

Answer : ASCII text

How would we move the file “myfile” to the directory “myfolder”

Answer : mv myfile myfolder

What are the contents of this file?

Answer : THM{FILESYSTEM}

Continue to apply your knowledge and practice the commands from this task.

No Answer.

TASK 5 Permissions 101

On the deployable machine, who is the owner of “important”?

Answer : user2

What would the command be to switch to the user “user2”?

Answer : su user2

Now switch to this user “user2” using the password “user2”

No Answer.

Output the contents of “important”, what is the flag?

Answer : THM{SU_USER2}

TASK 6 Common Directories

Read me!

No Answer.

What is the directory path that would we expect logs to be stored in?

Answer : /var/log

What root directory is similar to how RAM on a computer works?

Answer : /tmp

Name the home directory of the root user

Answer : /root

Now apply your learning and navigate through these directories on the deployed Linux machine.

No Answer.

TASK 7 Conclusions and Summaries

Proceed to the next task to continue your learning

No Answer.

TASK 8 Linux Fundamentals Part 3

Terminate the machine from task 2!

No Answer.

Join Linux Fundamentals Part 3!

No Answer.

This post is licensed under CC BY 4.0 by the author.