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

Содержание
  1. Linux Fundamentals
  2. Article catalog
  3. Linux Fundamentals Part 1
  4. task1 Introduction
  5. task2 A Bit of Background on Linux
  6. task3 Interacting With Your First Linux Machine (In-Browser)
  7. task4 Running Your First few Commands
  8. task5 Interacting With the Filesystem!
  9. task6 Searching for Files
  10. task7 An Introduction to Shell Operators
  11. task8 Conclusions & Summaries
  12. task9 Linux Fundamentals Part 2
  13. Linux Fundamentals Part 2
  14. task1 Introduction
  15. task2 Accessing Your Linux Machine Using SSH (Deploy)
  16. task3 Introduction to Flags and Switches
  17. task4 Filesystem Interaction Continued
  18. task5 Permissions 101
  19. task6 Common Directories
  20. task7 Conclusions and Summaries
  21. task8Linux Fundamentals Part 3
  22. Linux Fundamentals Part 3
  23. task1 Introduction
  24. task2 Deploy Your Linux Machine
  25. task3 Terminal Text Editors
  26. task4 General/Useful Utilities
  27. task5 Processes 101
  28. task6 Maintaining Your System: Automation
  29. task7 Maintaining Your System: Package Management
  30. task8 Maintaining Your System: Logs
  31. task9 Conclusions & Summaries
  32. Linux Fundamental Part 2| TryHackMe
  33. Linux Fundamentals
  34. Article catalog
  35. Linux Fundamentals Part 1
  36. task1 Introduction
  37. task2 A Bit of Background on Linux
  38. task3 Interacting With Your First Linux Machine (In-Browser)
  39. task4 Running Your First few Commands
  40. task5 Interacting With the Filesystem!
  41. task6 Searching for Files
  42. task7 An Introduction to Shell Operators
  43. task8 Conclusions & Summaries
  44. task9 Linux Fundamentals Part 2
  45. Linux Fundamentals Part 2
  46. task1 Introduction
  47. task2 Accessing Your Linux Machine Using SSH (Deploy)
  48. task3 Introduction to Flags and Switches
  49. task4 Filesystem Interaction Continued
  50. task5 Permissions 101
  51. task6 Common Directories
  52. task7 Conclusions and Summaries
  53. task8Linux Fundamentals Part 3
  54. Linux Fundamentals Part 3
  55. task1 Introduction
  56. task2 Deploy Your Linux Machine
  57. task3 Terminal Text Editors
  58. task4 General/Useful Utilities
  59. task5 Processes 101
  60. task6 Maintaining Your System: Automation
  61. task7 Maintaining Your System: Package Management
  62. task8 Maintaining Your System: Logs
  63. task9 Conclusions & Summaries

Linux Fundamentals

Article catalog

Linux Fundamentals Part 1

task1 Introduction

No need to answer

task2 A Bit of Background on Linux

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

task3 Interacting With Your First Linux Machine (In-Browser)

No need to answer

task4 Running Your First few Commands

1.If we wanted to output the text “TryHackMe”, what would our command be?

2.What is the username of who you’re logged in as on your deployed Linux machine?

task5 Interacting With the Filesystem!

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

2.Which directory contains a file?

3.Which directory contains a file?

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

Expectation Command LS, CD, Cat, PWD

task6 Searching for Files

1.Use grep on “access.log” to find the flag that has a prefix of “THM”. What is the flag?

2.And I still haven’t found what I’m looking for!

No need to answer

task7 An Introduction to Shell Operators

1.If we wanted to run a command in the background, what operator would we want to use?

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

echo password123 > passwords

3.Now if I wanted to add “tryhackme” to this file named “passwords” but also keep “passwords123”, what would my command be

echo tryhackme >> passwords

task8 Conclusions & Summaries

No need to answer

task9 Linux Fundamentals Part 2

No need to answer

Linux Fundamentals Part 2

task1 Introduction

No need to answer

task2 Accessing Your Linux Machine Using SSH (Deploy)

SSH remote connection

task3 Introduction to Flags and Switches

1.Explore the manual page of the ls command

No need to answer

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

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

task4 Filesystem Interaction Continued

1.How would you create the file named “newnote”?

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

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

Читайте также:  Слишком много открытых файлов linux

mv myfile myfolder

4.What are the contents of this file?

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

No need to answer

task5 Permissions 101

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

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

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

No need to answer

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

task6 Common Directories

No need to answer

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

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

4.Name the home directory of the root user

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

No need to answer

task7 Conclusions and Summaries

Proceed to the next task to continue your learning

No need to answer

task8Linux Fundamentals Part 3

No need to answer

Linux Fundamentals Part 3

task1 Introduction

No need to answer

task2 Deploy Your Linux Machine

No need to answer

task3 Terminal Text Editors

1.Create a file using Nano

No need to answer

2.Edit “task3” located in “tryhackme”’s home directory using Nano. What is the flag?

task4 General/Useful Utilities

1.Ensure you are connected to the deployed instance (10.10.153.121)

No need to answer

2.Now, use Python 3’s “HTTPServer” module to start a web server in the home directory of the “tryhackme” user on the deployed instance.、

No need to answer

3.Download the file http://10.10.153.121:8000/.flag.txt onto the TryHackMe AttackBox

4.Create and download files to further apply your learning – see how you can read the documentation on Python3’s “HTTPServer” module.

Use Ctrl + C to stop the Python3 HTTPServer module once you are finished.

No need to answer

task5 Processes 101

No need to answer

2.If we were to launch a process where the previous ID was “300”, what would the ID of this new process be?

3.If we wanted to cleanly kill a process, what signal would we send it?

4.Locate the process that is running on the deployed instance (124.70.216.43). What flag is given?

5.What command would we use to stop the service “myservice”?

systemctl stop myservice

6.What command would we use to start the same service on the boot-up of the system?

systemctl enable myservice

Systemctl command, Start boot / stop / enable Turn on / disable

7.What command would we use to bring a previously backgrounded process back to the foreground?

task6 Maintaining Your System: Automation

1.Ensure you are connected to the deployed instance and look at the running crontabs.

No need to answer

2.When will the crontab on the deployed instance (10.10.21.237) run?

task7 Maintaining Your System: Package Management

Since TryHackMe instances do not have an internet connection…this task only requires you to read through the material.

No need to answer

task8 Maintaining Your System: Logs

1.Look for the apache2 logs on the deployable Linux machine

No need to answer

Log file storage in / var / log / apache2 directory

2.What is the IP address of the user who visited the site?

3.What file did they access?

task9 Conclusions & Summaries

the apache2 logs on the deployable Linux machine

No need to answer

Log file storage in / var / log / apache2 directory

2.What is the IP address of the user who visited the site?

Источник

Linux Fundamental Part 2| TryHackMe

Jun 24 · 3 min read

This room helps in advancing the knowledge of filesystem & various commands.

no Answer needed

Task 2: Accessing Your Linux Machine Using SSH (Deploy)

To ssh enter the command “ssh username@machineIP”;

Password needs to be entered to successfully login.

command1: ssh tryhackme@10.10.232.191

enter password: tryhackme

Task 3: Introduction to Flags and Switches

a) Explore the manual page of the ls command

Читайте также:  Windows graphics card download

no answer needed

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

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

Task 4: Filesystem Interaction Continued

a)How would you create the file named “newnote”?

b) O n the deployable machine, what is the file type of “unknown1” in “tryhackme’s” home directory?

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

mv myfile myfolder

d) What are the contents of this file?

“ providing the -l switch to su , we start a shell that is much more similar to the actual user logging into the system — we inherit a lot more properties of the new user, i.e., environment variables and the likes.”

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

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

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

No answer needed

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

/etc — store system files that are used by your operating system<“ passwd”, “ shadow”, etc>.

/var — stores data that is frequently accessed or written by services or applications running on the system like logs.

/root — the folder is the home for the “root” system user.

/tmp — used to store data that is only needed to be accessed once or twice. when computer is restarted, the data is cleared.

no answer needed

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

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

d) Name the home directory of the root user

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

no answer needed

no answer needed

join the room Linux Fundamentals Part 3 using link Linux Fundamentals Part 3!

Источник

Linux Fundamentals

Article catalog

Linux Fundamentals Part 1

task1 Introduction

No need to answer

task2 A Bit of Background on Linux

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

task3 Interacting With Your First Linux Machine (In-Browser)

No need to answer

task4 Running Your First few Commands

1.If we wanted to output the text “TryHackMe”, what would our command be?

2.What is the username of who you’re logged in as on your deployed Linux machine?

task5 Interacting With the Filesystem!

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

2.Which directory contains a file?

3.Which directory contains a file?

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

Expectation Command LS, CD, Cat, PWD

task6 Searching for Files

1.Use grep on “access.log” to find the flag that has a prefix of “THM”. What is the flag?

2.And I still haven’t found what I’m looking for!

No need to answer

task7 An Introduction to Shell Operators

1.If we wanted to run a command in the background, what operator would we want to use?

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

echo password123 > passwords

3.Now if I wanted to add “tryhackme” to this file named “passwords” but also keep “passwords123”, what would my command be

echo tryhackme >> passwords

task8 Conclusions & Summaries

No need to answer

task9 Linux Fundamentals Part 2

No need to answer

Linux Fundamentals Part 2

task1 Introduction

No need to answer

task2 Accessing Your Linux Machine Using SSH (Deploy)

SSH remote connection

task3 Introduction to Flags and Switches

1.Explore the manual page of the ls command

Читайте также:  Когда будет opera mini для windows phone

No need to answer

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

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

task4 Filesystem Interaction Continued

1.How would you create the file named “newnote”?

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

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

mv myfile myfolder

4.What are the contents of this file?

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

No need to answer

task5 Permissions 101

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

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

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

No need to answer

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

task6 Common Directories

No need to answer

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

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

4.Name the home directory of the root user

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

No need to answer

task7 Conclusions and Summaries

Proceed to the next task to continue your learning

No need to answer

task8Linux Fundamentals Part 3

No need to answer

Linux Fundamentals Part 3

task1 Introduction

No need to answer

task2 Deploy Your Linux Machine

No need to answer

task3 Terminal Text Editors

1.Create a file using Nano

No need to answer

2.Edit “task3” located in “tryhackme”’s home directory using Nano. What is the flag?

task4 General/Useful Utilities

1.Ensure you are connected to the deployed instance (10.10.153.121)

No need to answer

2.Now, use Python 3’s “HTTPServer” module to start a web server in the home directory of the “tryhackme” user on the deployed instance.、

No need to answer

3.Download the file http://10.10.153.121:8000/.flag.txt onto the TryHackMe AttackBox

4.Create and download files to further apply your learning – see how you can read the documentation on Python3’s “HTTPServer” module.

Use Ctrl + C to stop the Python3 HTTPServer module once you are finished.

No need to answer

task5 Processes 101

No need to answer

2.If we were to launch a process where the previous ID was “300”, what would the ID of this new process be?

3.If we wanted to cleanly kill a process, what signal would we send it?

4.Locate the process that is running on the deployed instance (124.70.216.43). What flag is given?

5.What command would we use to stop the service “myservice”?

systemctl stop myservice

6.What command would we use to start the same service on the boot-up of the system?

systemctl enable myservice

Systemctl command, Start boot / stop / enable Turn on / disable

7.What command would we use to bring a previously backgrounded process back to the foreground?

task6 Maintaining Your System: Automation

1.Ensure you are connected to the deployed instance and look at the running crontabs.

No need to answer

2.When will the crontab on the deployed instance (10.10.21.237) run?

task7 Maintaining Your System: Package Management

Since TryHackMe instances do not have an internet connection…this task only requires you to read through the material.

No need to answer

task8 Maintaining Your System: Logs

1.Look for the apache2 logs on the deployable Linux machine

No need to answer

Log file storage in / var / log / apache2 directory

2.What is the IP address of the user who visited the site?

3.What file did they access?

task9 Conclusions & Summaries

the apache2 logs on the deployable Linux machine

No need to answer

Log file storage in / var / log / apache2 directory

2.What is the IP address of the user who visited the site?

Источник

Оцените статью