Which of the following commands would be the BEST to run to view only active Internet connections?
A security analyst is reviewing network connectivity on a Linux workstation and examining the active TCP connections using the command line.
Which of the following commands would be the BEST to run to view only active Internet connections?
A . sudo netstat -antu | grep “LISTEN” | awk ‘{print$5}’
B . sudo netstat -nlt -p | grep “ESTABLISHED”
C . sudo netstat -plntu | grep -v “Foreign Address”
D . sudo netstat -pnut -w | column -t -s $’w’
E . sudo netstat -pnut | grep -P ^tcp
Answer: B
Explanation:
Reference: https://www.codegrepper.com/code-examples/shell/netstat+find+port
Latest CAS-004 Dumps Valid Version with 128 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund
Subscribe
Login
0 Comments
Inline Feedbacks
View all comments