Computers are connected in a network to exchange information or resources each other. Maintaining of system and network up and running is an essentials task of System or Network Administrator’s job.
In this tutorial, I will explain various tools which can be useful when networking with other computers both within the network and across the internet, obtaining more information about other computers.
ping – Determine if remote host is up/available
telnet – Determine if local/remote service is available
netstat – Shows network connections, routing tables, interface statistics
netstat -a – dumps ALL sockets with: service/port and hostname resolution
netstat -an – same as above, but suppresses name resolution
netstat -ntl – suppresses name resolution, shows all TCP and listeners
netstat -ntlp – same as above, includes programs bound to ports
netstat -nulp – returns ALL UDP listeners
netstat -r – returns kernel routing table
hostname – show or set the system’s host name
hostname
hostname hostname
arp – View the system ARP cache
traceroute – View the route packets trace to network host
traceroute 192.168.75.1
traceroute www.google.com
nslookup – query Internet name servers
nslookup www.google.com
Dig – DNS lookup utility
dig www.google.com
dig ceyhunkirmizitas.net mx