Table of contents
No headings in the article.
Linux networking refers to the set of technologies and protocols used in networking on Linux-based operating systems. Linux provides a comprehensive suite of networking tools and services, including protocols for network communication, network configuration tools, and network monitoring utilities.
Linux-based operating systems also support various network services, such as DNS, DHCP, FTP, SSH, and many others.
ifconfig
This command enables us to initialize an interface, assign IP address, and enable or disable an interface. It displays the route and network interface.
Syntax-
ifconfig
ping
ping command stands for (Packet Internet Groper). It checks connectivity between two nodes to see if a server is available.
Syntax-
netstat
netstat command stands for Network statistics. It displays information about different interface statistics, including open sockets, routing tables, and connection information.
Syntax-
netstat
nslookup
The command is also used to find DNS-related queries.
Syntax-
nslookup <domainName>
hostname
hostname command allows us to set and view the hostname of the system. A hostname is the name of any computer that is connected to a network that is uniquely identified over a network. It can be accessed without using a particular IP address.
To view the hostname
Syntax-hostname
Setting up the hostname
Syntax- sudo hostname <name>
Route Command
The route command displays and manipulate IP routing table for your system.
A router is a device that is used to determine the best way to route packets to a destination.
Syntax-
route
Thanks for Reading !!!