Question: Section 2 Linux Open Terminal. Use the following guide to specify the parameters in each question: Switch Purpose - t All TCP ports - u
Section Linux
Open Terminal.
Use the following guide to specify the parameters in each question:
Switch
Purpose
t
All TCP ports
u
All UDP ports
l
Display listening ports
p
Show the PID Product Identification and name
n
Dont resolve names
At the prompt, use the netstat command to list open ports. Your command should look like the one below, except you will need to specify which switches from the table above to use. You will need to press the Enter key on your keyboard for the command to execute. sudo netstat switches grep LISTEN
Run each switch independently and then run all switches as a string tupln a How many open ports are listed?
How do the results differ when single commands and when strung together?
At the prompt, use the ss command to list open ports. Like the last question, you will need to specify the appropriate switches to do so and you will need to press the Enter key on your keyboard for the command to execute. Your command should look like the one below with the appropriate substitutions. sudo ss switches
Run each switch independently and then run all switches as a string tupln a What are the results?
How do they differ from those acquired using the netstat command?
How do the results differ when single commands and when strung together?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
