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.
Loading...
Related Quiz
- Which file in Linux is primarily used to configure the static IP address of a network interface?
- In the context of package management, what does the term "repository" refer to?
- To iterate over a range of numbers in a loop, one might use the seq command combined with the _________ loop.
- When a script is not behaving as expected, you can add the _________ option at the top of the script to display each command before it's executed.
- For VPN connections in Linux, which tool can be used to set up a tunnel based on SSL/TLS?