Networking Utilities

CommandSyntax (Example)Description
digdig <domain>Domain information groper. Used to gather information from Domain Name Servers.
dnsdomainnamednsdomainnameDisplays the domain name for the given server.
hosthost <host>Looks up host or host IP address using Domain Name Server.
hostnamehostnameDisplays the fully qualified domain name (FQDN) for the given server.
ifconfigifconfigDisplays currently configured network interfaces.
 ifconfig [interface] [options]Configures a network interface.
netstatnetstatDisplays the status of network connections, routing tables, and interface statistics.
pingping <host>Sends an ECHO_REQUEST packet to the specified host. A response packet is returned by reachable hosts. Commonly used to debug network ...

Get Special Edition Using Linux®, Sixth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.