Linux Networking Command List

Linux has many networking commands available to it. Some are built in to the OS, whereas others will need to be installed, but all are great in their own special way.

Ping – One of the most used networking commands for troubleshooting and testing network connectivity. Ping works by sending Echo Request packets to a user-specified IP destination, and waits for a reply.

cURL – Stands for Client URL, cURL transfers data to or from a network server using one of many supported protocols. It’s perfect for shell scripts, as it can be used without user interaction.

HTTPie – This is a single HTTP command that’s designed for debugging and interaction with HTTP servers and other web services. There’s lots of support, and it features a great looking UI.

Wget – An app that can be used to retrieve content from web servers. Supports downloading via HTTP, HTTPS and FTP.

Tc – tc is used to configure traffic control, such as limiting the bandwidth use of a particular service to simulate Internet connections.

Ifconfig – Stands for Interface Configuration, and is used to display and configure the local network adapter. With ifconfig, you’re able to view a computer’s IP address, gateway and so on. Can also be used to setup a network port.

Whois – The whois command is able to process and display information about a user-specified domain name. For example, enter: whois, for information on the domain.

Route – This command is used to show and manipulate the IP routing table for a Linux computer. With it you can setup static routes to specific hosts or networks.

Nload – Nload can help you keep an eye on your network traffic and bandwidth usage in real time. It monitors incoming and outgoing traffic using graphs and provides additional information on the tital transferred data and network use.

Traceroute – A tool used to diagnose and display the route of packets to and from user specified location. It’s great for finding slow areas of a network, so you can tweak any network extenders that the packets hit on their way to the location.

SSH – Provides a secure, encrypted connection between two devices on a network. With it, you can connect to other computers and run commands, transfer files and so on.

Iwconfig – Like the ifconfig command, but iwconfig is exclusively designed to work with wireless network interfaces. You can set parameters, such as SSID, frequency and so on.

Tcpdump – a famous networking tool that’s a packet analyser to display TCP/IP and other network packets that are being transmitted to and from a Linux computer.

Find more guides like this in…

Russ Ware

Russ has been testing, reviewing and writing guides for tech since the heady days of Windows 95 and the Sega Saturn. A self-confessed (and proud) geek about all things tech, if it has LED's, a screen, beeps or has source code, Russ will want to master it (and very likely take it apart to see how it works...)

Related Articles

Back to top button