Task 5 - Processes 101

Task 5 Processes 101

Read me!

No answer needed

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

Reveal Flag ๐Ÿšฉ

๐Ÿšฉ301

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

Reveal Flag ๐Ÿšฉ

๐ŸšฉSIGTERM

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

HINT: Use ps aux to list all running processes. We're looking for a process that seems "out of the ordinary"

Reveal Flag ๐Ÿšฉ

๐ŸšฉTHM{PROCESSES}

What command would we use to stop the service "myservice"?

HINT: systemctl [option] [service]

Reveal Flag ๐Ÿšฉ

๐Ÿšฉsystemctl stop myservice

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

HINT: systemctl [option] [service]

Reveal Flag ๐Ÿšฉ

๐Ÿšฉsystemctl enable myservice

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

Reveal Flag ๐Ÿšฉ

๐Ÿšฉfg

Last updated