Skip to main content

Linux Fundamentals Part 1

TryHackMe - Linux FundamentalsPart 1


 #1 :- Research: What year was the first release of a Linux operating system? 

Answer :-1991 

#2 :- if we wanted to output the text "TryHackMe", what would our command be? 

Answer :-echo TryHackMe 

#3 :- What is the username of who you're logged in as on your deployed Linux machine?

Answer :-tryhackme

#4 :- On the Linux machine that you deploy, how many folders are there? 
 
Answer :-2

#5 :- Which directory contains a file? 

Answer :-folder4

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

Answer :-Hello World

#7 :- Use the cd command to navigate to this file and find out the new current working directory. What is the path?

Answer :-/home/tryhackme/folder4 

#8 :- Use grep on "access.log" to find the flag that has a prefix of "THM". What is the flag?

Answer :-THM{ACCESS}

#9 :- If we wanted to run a command in the background, what operator would we want to use?

Answer :-&

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

Answer :-echo password123 > passwords

#11 :- Now if I wanted to add "tryhackme" to this file named "passwords" but also keep "passwords123", what would my command be

Answer :-echo tryhackme >> passwords

 

Comments

Popular posts from this blog

Windows Fundamentals 2

 TryHackMe - Windows Fundamentals 2 Task 1 Introduction  #1 :- Read above and start the virtual machine.  Answer :- No Answer Needed Task 2 System Configuration   #2.1 :- What is the name of the service that lists Systems Internals as the manufacturer?  Answer :- PsShutdown #2.2 :- Whom is the Windows license registered to? Answer :- Windows User #2.3 :- What is the command for Windows Troubleshooting? Answer :- C:\Windows\System32\control.exe /name Microsoft.Troubleshooting #2.4 :- What command will open the Control Panel? (The answer is  the name of .exe, not the full path) Answer :- control.exe Task 3 Change UAC Settings  #3 :- What is the command to open User Account Control Settings? (The answer is the name of the .exe file, not the full path)  Answer :- UserAccountControlSettings.exe Task 4 Computer Management  #4.1 :- What is the command to open Computer Management? (The answer is the name of the .msc file, not the full

Windows Fundamentals 3

 Tryhackme - Windows Fundamentals 3   Task-1 Introduction  #1:- Read the above and start the virtual machine.  Answer:- No Answer Needed Task-2 Windows Updates  #2:- There were two definition updates installed in the attached VM. On what date were these updates installed?  Answer:- 5/3/2021 Task-3 Windows Security  #3:- In the above image, which area needs immediate attention?  Answer:- virus & threat protection Task-4 Virus & threat protection  #4:- Specifically, what is turned off that Windows is notifying you to turn on?  Answer:- Real-time protection Task-5 Firewall & network protection  #5:- If you were connected to airport Wi-Fi, what most likely will be the active firewall profile?  Answer:- public network Task-6 App & browser control  #6:- Read the above.  Answer:- No Answer Needed Task-7 Device security  #7:- What is the TPM?  Answer:- Trusted Platform Module Task-8 BitLocker #8:- What must a user insert on computers that DO NOT have a TPM version 1.2 or la