netstat commands Flashcards

1
Q

netstat -a

A

displays all open ports, including both active TCP and UDP connections and ports in the listening state

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

netstat -t

A

TCP connections

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

netstat -u

A

UDP connections

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

netstat -w

A

raw connections

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

netstat -x

A

UNIX sockets/locak server ports

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

netstat -l

A

just ports

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

netstat -n

A

displays ports and addresses in numerical format

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

netstat -p

A

Switch with the protocol type

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

netstat -o

A

On Windows shows pid that has opened the port

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

netstat -b

A

On Windows shows the process name

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

netstat -p

A

shows PID and process name on linux

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

netstat -s

A

reports per protocol statistics

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

netstat nn

A

Windows is the refresh interval in seconds (ctr + c to stop)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

netstat -c

A

Linux is the refresh interval in seconds (ctr + c to stop)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly