Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Section 2 Linux Open Terminal. Use the following guide to specify the parameters in each question: Switch Purpose - t All TCP ports - u

Section 2 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 5 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 5 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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Expert Oracle9i Database Administration

Authors: Sam R. Alapati

1st Edition

1590590228, 978-1590590225

More Books

Students also viewed these Databases questions

Question

1. Explain the 2nd world war. 2. Who is the father of history?

Answered: 1 week ago