Skip to content

Instantly share code, notes, and snippets.

@nervouswiggles
Last active August 29, 2015 14:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nervouswiggles/61106579e2c761c479c6 to your computer and use it in GitHub Desktop.
Save nervouswiggles/61106579e2c761c479c6 to your computer and use it in GitHub Desktop.
1. NETSTAT - Find all the addresses and port numbers that are listening on port 8090. This includes all the state of the listening port) netstat -an | grep 8090
2. TELNET - (connect to a hostname with a port number) telnet localhost 8080
3. PS -ef - (Find out all the services that are listening. The example will also find all the onces with Vordel associated) ps -ef | grep -i Vordel
4. nslookup - (uses an IP address to find the hostname) nslookup 172.22.226.73
5. ping -t technicalconfessions.com - Continuous ping to the hostname (remove the -t and it will do it 5 times)
6. ifconfig - (Find out the IP address of the computer) ifconfig
7. ./sbin/arp -n - View the MAC to IP address conversion on the server
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment