Questions
- When you run the
sudo systemctl enable httpd
command, what will that do for you?a. It will start the
httpd
service.b. It will cause
httpd
to start when you boot the machine and will also do an immediate start.c. It will only cause
httpd
to start when you reboot the machine.d. It creates a symbolic link in the
/lib/systemd/system/
directory. - What is the effect of using the normal
kill
command on a service?a. It will shut down the service cleanly.
b. It will shut down the main service process, but it might not shut down the spawned processes.
c. It won't shut down a service.
d. You can use
kill
without sudo privileges to shut down a service. - What is the
SIGTERM
signal?a. It kills a process dead in its tracks without giving it a chance to clean up after itself.
b. It kills a process when it detects that a terminal window has been resized.
c. It restarts a process.
d. It kills a process gracefully, giving it time to clean up after itself.
- How would you enable...