Your organization's security policy requires a regular check for any unauthorized connections to external hosts. While reviewing the connections on a server, you need to list all established connections and listening ports to ensure there are no unexpected services running or connections made. Which command would provide you with the necessary information and allow you to analyze the connections for any policy violations?
netstat -e
netstat -a
netstat -p
netstat -r