Question: Step 3: Figure out the options for the ss command so it will only show listening TCP ports. You will need to use two






Step 3: Figure out the options for the ss command so it will only show listening TCP ports. You will need to use two flags. Take a screenshot of the command and its output and include it below. Step 10: You can see an active list of running processes on our machine by using the top command. Issue the top command with no arguments to see a live-updating list of active processes on your system, with current CPU and RAM usage. top has plenty of options to filter down the processes that we can see. While viewing top, type h to view a help page of shortcuts and keyboard commands. Figure out a way to filter to see the webserver processes that are running (try searching for www or apache). Include a screenshot showing the filtered output. Step 11: Use the systemd utility systemctl to identify the webserver service. Issue the systemctl command with no arguments to show a full list of services, devices, etc available for control with systemctl. Use grep to filter this list for the service associated with the web server. Use the process information you received in the last step from top to decide what to filter for. Include a screenshot of the command you used and the service name ending in .service Step 12: Use systemctl to stop the service you found. When you have stopped the service, figure out how to show the status of that same service. Include a screenshot proving that it is stopped. Step 13: Use the curl command again and see if your webpage is still up. It should no longer be available. Step 14: Simply stopping a service will allow it to be started back up easily in the future. Also, if the service is enabled to be started on boot, then a reboot would restart this service. However, if we wanted to ensure that a service was unable to start, we could use the mask functionality in systemctl. Use this functionality to mask httpd.service. Then try to start the service Include a screenshot of the error you receive. Step 15: Figure out the necessary commands to unmask this service using systemctl, set it to start on boot, and start the service back up. Include a screenshot of the output of systemctl status httpd.service when you have done so. wwwwwww
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
