-
Notifications
You must be signed in to change notification settings - Fork 0
/
Linux Fundamentals Part 3
34 lines (25 loc) · 1016 Bytes
/
Linux Fundamentals Part 3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#Task 3 - Terminal Text Editors
- Edit "task3" located in "tryhackme"'s home directory using Nano. What is the flag?
THM{TEXT_EDITORS}
#Task 4 - General/Useful Utilities
- What are the contents?
THM{WGET_WEBSERVER}
# Task 5 - Processes 101
- If we wanted to cleanly kill a process, what signal would we send it?
SIGTERM
- Locate the process that is running on the deployed instance (MACHINE_IP). What flag is given?
THM{PROCESSES}
- What command would we use to stop the service "myservice"?
systemctl stop myservice
- What command would we use to start the same service on the boot-up of the system?
systemctl enable myservice
- What command would we use to bring a previously backgrounded process back to the foreground?
fg
#Task 6 - Maintaining Your System: Automation
- When will the crontab on the deployed instance (MACHINE_IP) run?
@reboot
#Task 8 Maintaining Your System: Logs
- What is the IP address of the user who visited the site?
10.9.232.111
- What file did they access?
catsanddogs.jpg