DEV Community

Cover image for LINUX CHALLENGE DAY 5
Blessing Ndubuisi
Blessing Ndubuisi

Posted on

LINUX CHALLENGE DAY 5

LINUX NETWORKING

Linux networking commands are used extensively to inspect, analyze, maintain, and troubleshoot networks connected to the system server.

Despite being busy, I managed to cover five essential command lines. Since I use the Ubuntu distribution, I first installed net-tools. Note that if you use Kali Linux, net-tools usually come preinstalled.

Here are the commands I learned:

  1. ifconfig (Interface Configurator): used to configure network interfaces.

  2. ip a (or ip addr show): displays IP addresses and interface information.

  3. ip link show: shows the state of network interfaces.

  4. ip -s link show: displays interface statistics, including traffic information.

  5. ip route: displays and modifies the IP routing table.

These commands are crucial for network administration and troubleshooting.

Top comments (3)

Collapse
 
malaccoda profile image
Malaclypse

There is no need to learn ifconfig as it is deprecated on Linux and ip is its successor. The newer ip command includes basically everything ifconfig, arp and the net-tools suite did in a single command with a modern address notation. If you are on ubuntu may be take a look in NetworkManager and nmcli, those are somewhat on a higher level and are typacilly used to inspect on configure (persistent) network configuration.

Collapse
 
blessingglobally profile image
Blessing Ndubuisi

yes, that's true, IP is more versatile and technically more efficient than ifconfig. I'm actually focusing more on Ip as its designed for modern network.

Collapse
 
blessingglobally profile image
Blessing Ndubuisi

yes that's true, IP is more versatile and technically more efficient than ifconfig. I'm actually focusing more on Ip as its designed for modern network.