Common Network Utilities in Linux

Updated on February 12, 2018
1 Star2 Stars3 Stars4 Stars5 Stars (2 votes, average: 5.00 out of 5)

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

Related Article  How to Install Linux Mint 15 Cinnamon (Olivia) in VMware Workstation 9.0.2

hostname – show or set the system’s host name
hostname hostname

arp – View the system ARP cache

traceroute – View the route packets trace to network host

nslookup  – query Internet name servers

Dig – DNS lookup utility
dig mx