Linux Networking Commands

Gokhan Kosem
2 min readFeb 8, 2021

​Linux is very important for Network Engineers. Almost all network engineers should learn some of the commands of linux that are used in networking. Here, I will share top 35 networking commands used in Linux. These Linux networking commands are given below.

Top 35 Network Commands in Linux:

  1. arp command
  2. arpwatch command
  3. bmon command
  4. curl command
  5. dhclient command
  6. dig command
  7. dstat command
  8. ethtool command
  9. ftp command
  10. host command
  11. ifstat command
  12. ip addr command
  13. iptables command
  14. iftop command
  15. ifup/ifdown command
  16. iwconfig command
  17. netstat command
  18. nload command
  19. nmap command
  20. nslookup command
  21. ping command
  22. route command
  23. scp command
  24. sftp command
  25. ss command
  26. ssh command
  27. tshark command
  28. hping3 command
  29. tcpdump command
  30. telnet command
  31. tracepath command
  32. traceroute command
  33. w command
  34. wget command
  35. whois command

arp command

To see the ARP Table of your server, you can use “arp command”. There are some parameters that can be use with arp command, but to see the default Linux ARP Table, you can use this command with “-e” parameter.

$ arp -e

Address HWtype HWaddress Flags Mask Iface

192.168.1.1 ether 00:aa:45:12:00:11 C eth0

arpwatch command

arpwatch command is used to monitor ethernet activity and Ethernet/ip pairings. Arpwatch can be used with various parameters. For example, if you use “-i” parameter, you can use arpwatch for a specific network interface. Or you can use “-d” parameter for debugging.

$ sudo arpwatch

$ sudo arpwatch –i eth0

$ sudo arpwatch –d eth0

DOWNLOAD LINUX Cheat Sheet

--

--