Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started