Skip to content

Network CLI Tools

trinib edited this page Oct 26, 2022 · 3 revisions

Useful network command-line tools

  1. arpwatch – keep track of ethernet/ip address pairings.
  2. bmon – bandwidth monitor and rate estimator.
  3. bwm-ng – console-based live network and disk io bandwidth monitor.
  4. curl – transfer data with URLs. (alternatives aria2, httpie)
  5. darkstat – Captures network traffic, calculates statistics, and serves reports over HTTP.
  6. dhclient – Dynamic Host Configuration Protocol Client.
  7. dhcpcd - RFC2131 compliant DHCP client daemon.
  8. dig – DNS lookup utility.
  9. dstat – A versatile resource statistics tool.
  10. ethtool – utility for controlling network drivers and hardware.
  11. gated – gateway routing daemon.
  12. host – DNS lookup utility.
  13. hping – TCP/IP packet assembler/analyzer.
  14. ibmonitor – shows bandwidth and total data transferred.
  15. ifstat – report network interfaces bandwidth.
  16. iftop – display bandwidth usage.
  17. ip (PDF file) – ifconfig on steroids.
  18. iperf3 – A TCP, UDP, and SCTP network bandwidth measurement tool.
  19. iproute2 – collection of utilities for controlling TCP/IP.
  20. iptables – utility for configuring Linux kernel firewall.
  21. IPTraf – Console-based network monitoring utility.
  22. iputils – Network monitoring tools, including ping.
  23. iw – a new nl80211 based CLI configuration utility for wireless devices.
  24. jwhois ( improved whois) – client for the whois service.
  25. “lsof -i” – reveal information about your network sockets.
  26. Lynis - Auditing, system hardening, compliance testing.
  27. mtr – network diagnostic tool.
  28. net-tools – the collection of base networking utilities for Linux.
  29. ncat – much-improved re-implementation of the venerable Netcat.
  30. nethogs – Linux 'net top' tool written in C++.
  31. Netperf – Network bandwidth benchmark.
  32. netsniff-ng – Swiss army knife for your daily Linux network plumbing if you will.
  33. netstat – Print network connections, routing tables, interface statistics, masquerade connections, etc.
  34. netwatch – monitor network connections.
  35. ngrep – ngrep is like GNU grep applied to the network layer.
  36. nload – Monitors network traffic and bandwidth usage.
  37. nmap – Nmap ("Network Mapper") utility for network discovery and security auditing.
  38. nmcli – command-line tool for controlling NetworkManager.
  39. nmtui – provides a text interface to configure networking by controlling NetworkManager.
  40. nslookup – for querying DNS to obtain domain name or IP address mapping. (alternatively dnslookup)
  41. openssl - The Open Source toolkit for SSL and TLS protocols.
  42. paping - TCP ping on specific port.
  43. ping – send icmp echo_request to network hosts.
  44. iproute2 (route) – show / manipulate the IP routing table.
  45. slurm – yet another network load monitor.
  46. snort – A lightweight network intrusion detection system.
  47. smokeping – A tool to keep track of your network latency.
  48. socat – relay for bidirectional data transfer between two independent data channels
  49. ss – another utility to investigate sockets.
  50. ssh – the infamous Secure Shell protocol.
  51. speedometer – Measure and display the rate of data across a network connection or data being stored in a file.
  52. speedtest-cli – for testing internet bandwidth using speedtest.net.
  53. systemd-networkd - a system daemon that manages network configurations.
  54. tcpdump – dump traffic on a network.
  55. tcptrack – displays information about TCP connections on a network interface.
  56. telnet – User interface to TELNET.
  57. tracepath – traces path to a network host discovering MTU along this path (similar traceroute)
  58. traceroute – Tracks the route taken by packets over an IP network.
  59. vnStat – A console-based network traffic monitor.
  60. websocat – CLI client for web sockets, like netcat/curl/socat for ws://
  61. wget – Network utility to retrieve files from the Web.
  62. wireless_tools – Tools allowing to manipulate the Wireless Extensions.
  63. Wireshark – network protocol analyzer.