Jawaban linux fundamentals part 1 2 dan 3

Linux fundamental part 1

1.Introduction

What year was the first release of a Linux operating system?

1991



I've deployed my first Linux machine!



4.Running Your First few Commands
If we wanted to output the text "TryHackMe", what would our command be?
  Echo TryHackMe

What is the username of who you're logged in as on your deployed Linux machine?
Tryhackme




On the Linux machine that you deploy, how many folders are there?
   4

  What is the contents of this file?
  Hello World!

  Use the cd command to navigate to this file and find out the new current  working directory. What is the path?
  /home/tryhackme/folder4

6.Searching for Files
Use grep on "access.log" to find the flag that has a prefix of "THM". What is the flag?

THM{ACCESS}




7.
An Introduction to Shell Operators
If we wanted to run a command in the background, what operator would we want to use?

    &

If I wanted to replace the contents of a file named "passwords" with the word "password123", what would my command be?

echo password123>passwords


8.
 Conclusions & Summaries

9.Linux Fundamentals Part 2


Linux fundamentals part 2

3.Introduction to Flags and Switches

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

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

4.Filesystem Interaction Continued

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?
mv myfile myfolder 


What are the contents of this file?
THM{FILESYSTEM}

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}







Komentar

Postingan Populer