A security analyst is reviewing network connectivity on a Linux workstation and examining the active TCP connections usi
Posted: Sat Jul 23, 2022 7:37 pm
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
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