Recently, I wanted to test network throughput via command line with at least 3 tools. For the life of me, I couldn’t remember iperf. Not being able to remember previously used command line tools is frustrating and something we can all relate to. So I made a go-to list of network tools for myself. Then, I thought, why not turn this list into a blog post? So I spent an hour or two compiling this running list of Linux networking commands and scripts. I look forward to most suggestions, as I know there is always something missing or a new script to try.
Linux networking commands and scripts
This list of Linux networking commands and scripts will receive ongoing updates, similar to the other lists on this blog…
- Area 2 – Downloading almost everything. Torrents included.
- earwatch – Ethernet Activity Monitor.
- bummon – Bandwidth monitor and rate estimator.
- bwm-ng – Live network bandwidth monitor.
- curl – Transferring data with URL. (or try httpie,
- darkstat – Captures network traffic, usage statistics.
- dhclient – Dynamic Host Configuration Protocol Client
- You – Query DNS servers for information.
- dstat – Replacement for vmstat, iostat, mpstat, netstat and ifstat.
- ethtool – Utility to control network drivers and hardware.
- full of security – Gateway Routing Daemon.
- host – DNS lookup utility.
- hopping – TCP / IP packet assembler / analyzer.
- ibmonitor – Shows bandwidth and total data transferred.
- ifstat – Report network interface bandwidth.
- iftop – Display bandwidth usage.
- ip (PDF file) – A command with more features that ifconfig (net-tools).
- iperf3 – Network bandwidth measurement tool. (above screenshot Stacklinux VPS,
- iproute2 – Collection of utilities for controlling TCP / IP.
- iptables – Control network traffic.
- iptraf – An IP network monitor.
- iputils – Set of small useful utilities for Linux networking.
- and in – A new nl80211 based CLI configuration utility for wireless devices.
- whois (whois) – The client for the whois service.
- “Lassof-Eye” – Reveal information about your network socket.
- mtr – Network Diagnostic Tool.
- net-tools – Utilities include: arp, hostname, ifconfig, netstatrarp, route, plipconfig, slattach, mii-tool, iptunnel and ipmadr.
- NCAT – Improved re-implementation of the venerable netcat.
- netcat – Networking utility to read/write network connections.
- nethogs – A small ‘Net Top’ tool.
- netperf – Network bandwidth test.
- netplan Netplan is a utility to easily configure networking on a Linux system.
- netsniff-ng – Swiss Army Knife for daily Linux network plumbing.
- netwatch – Monitoring of network connections.
- NGREP — grep is applied at the network layer.
- nload – Display network usage.
- nmap – Network discovery and security auditing.
- NMCLI – A command-line tool for controlling NetworkManager and reporting network status.
- NMTUI – Provides a text interface for configuring networking by controlling network manager,
- nslookup – Query Internet name servers interactively.
- humming – send icmp echo_request to network host.
- way – Show/manipulate IP routing tables.
- slurm – Network load monitor.
- Snort – Network intrusion detection and prevention system.
- smoking – Monitors your network latency.
- astonished Establishes two bidirectional byte streams and transfers data between them.
- speedometer – Measure and display the rate of data across the network.
- speedtest-cli – test internet bandwidth using speedtest.net
- ss – Utility for checking sockets.
- SSHO – Secure system administration and file transfer over unsecured networks.
- tcpdump – Command line packet analyzer.
- tcptrack – Displays information about TCP connections on network interfaces.
- telnet – User interface for the TELNET protocol.
- tracepath – Functions similar to traceroute.
- traceroute – Print the route packet trace on the network host.
- vnstat – Network traffic monitor.
- websocket – Connection forwarder to/from web sockets, in the style of society.
- wget – Recovering files using HTTP, HTTPS, FTP and FTPS.
- Wireless Tools for Linux – Contains iwconfig, iwlist, iwspy, iwpriv and irename.
- wireshark – Network Protocol Analyzer.
Leave a Comment