Linux Networking Commands





Get the Info

ifconfig : Configure a network interface


ip a : show / manipulate routing, devices, policy routing and tunnels


ifrename : Rename network interfaces based on various static criteria


ifup :  up the ethernet devices


ifdown : down the ethernet devices


ifcfg  : used to configure network interfaces


hostname : show or set the systemâs host name


ping : send ICMP ECHO_REQUEST to network hosts


traceroute : print the route packets trace to network host

ss :  used to show socket statistics 

For Troubleshooting 

tracepath :  traces path to a network host discovering MTU along this path


dig :DNS lookup utility


route :show / manipulate the IP routing table


ethtool  :Display or change ethernet card settings


ftp :ARPANET file transfer program


netstat : Print network connections, routing tables, interface statistics, masquerade connections, and multicast memberships


tcpdump  : dump traffic on a network


nslookup : query Internet name servers interactively

Remotely Login

rlogin : Remote login


ssh : OpenSSH SSH client (remote login program)


telnet :user interface to the TELNET protocol

rsh : 

Misc 

iwconfig : configure a wireless network interface


iwevent : Display Wireless Events generated by drivers and setting changes


iwgetid :  Report ESSID, NWID or AP/Cell Address of wireless network


miitool : View, manipulate media-independent interface status


iwlist : Get more detailed wireless information from a wireless interface


host : DNS lookup utility


iwspy : Get wireless statistics from specific nodes


arp : manipulate the system ARP cache


arping : send ARP REQUEST to a neighbour host

Leave a Reply

Your email address will not be published. Required fields are marked *