You are troubleshooting a connectivity issue on a server. You need to identify all active connections to and from the server. Which command would be most suitable for this purpose?

  • netstat
  • ifconfig
  • ps
  • top
To identify all active connections to and from a server in Linux, you would use the netstat command. netstat provides information about network connections, routing tables, interface statistics, masquerade connections, and more. It's a valuable tool for network troubleshooting.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *