Network Commands
In this page we can explore more about network commands.
ping
ping
Ex: ping guvi.in
To check the reachability of a host on an Internet Protocol (IP) network.
Nslookup
nslookup
Ex: nslookup guvi.in
To query DNS servers for domain information.
Traceroute
traceroute
Ex: traceroute guvi.in
To display the route and measure transit delays of packets across an Internet Protocol network.
Netstat
netstat
To display active network connections, routing tables, interface statistics, masquerade connections, and multicast memberships.
nmap
nmap
Ex: nmap guvi.in
To discover hosts and services on a computer network, creating a "map" of the network.
tcpdump
tcpdump
Ex: tcpdump -i eth0
To capture and analyze network traffic.
Host
host
Ex: host guvi.in
The host command shows the IP address for a hostname and the domain name for an IP address. Also, it is used to get DNS lookup for DNS related issues.
ARP
arp
The arp command is short for Address Resolution Protocol. This command is used to see and include content in the ARP table of the kernel.
ifconfig
ifconfig
ifconfig is used to initialize an interface, configure it with an IP address, and enable or disable it. It is also used to display the route and the network interface.
ip
ip
Ex: ip a or ip addr
This is the latest and updated version of ifconfig command.
This command gives the details of all networks like ifconfig.
telnet
telnet
Ex: guvi.in 443
Used to check open ports of an server.
Last updated