5 Basic Networking Commands

 5 Basic Networking Commands

5 Basic Networking Commands

Hey guys in today's blog we will be taking a look at the top 10 networking commands that you would need as you go into IT.


Prerequisites:- 

  1. Should be known the IP address, what are they, and why we use them.
    If you want more information about it you can visit IP Address

The commands that I will be showing you are done in my Kali Linux, you can also use  Docker  if you want ( Note:- you may have to do some stuff to make your docker container ping the other IP addresses, as its isolated )

1) Ping:-

The ping command is used to troubleshoot the network problem, find the reliability of the host, to check whether the host is up or not. 

5 Basic Networking Commands

The one meaning, you can take from the above command is that the letsconfigure.blogspot.com website is up. 

2) ifconfig:- 

The ifconfig is the other command that we will use while using Linux or working in the networking field which stands for the interface configuration. It is used to initialize the interface, configure it with an IP address or enable or disable it. You can simply use this command to show the IP address configuration 

It shows the details about the IPV4 address IPV6 address mac-address all the interfaces available to your system like eth0, usb0, wlan0, etc.

5 Basic Networking Commands

 Got the above image from geeks for geeks I can't show you mine because it also holds the sensitive information like mac-address no 

As you can see in the above example there are 3 interfaces in the system. And every interface has some different information stored don't worry if you are not getting what's going the concepts are going to be clear and clear as we are going the get deep inside this.

3) traceroute:- 

Traceroute is one of the most useful commands in Linux networking, as it is used to troubleshoot the network, find the delay, and see the path of the target.

5 Basic Networking Commands


As you can see in the above image the traceroute is giving the path to the following website. it's a tool that:- prints the route packets traced to the network host

4) dig:- 

The dig command stands for the Domain Information Groper, as its name itself suggests that any information you want related to the domain name you can use the dig command for that.

5 Basic Networking Commands

As you can see above shows very much of information about the domain, the IP related to the domain which type of IP record it holds ( if you are not getting it whats going on just remember it is the command which is used to get information related to the domain we will look the IP addressed in detail in the later blog )

5) hostname:-

The hostname is the command which is used to print or change the hostname of your system or you can say it has the nodename its a label attached to the device which is connected to the network


5 Basic Networking Commands

Tip:- 

If you want to study more about these commands then you can always check their manual pages or the man page the command for the page will be:- man "command-name"  it comes very handy as you can't remember the usage of the command their arguments etc...

Conclusion:- 

From this article, we have studied the 5 basic networking commands that you will need as your journey gets started in the field of IT & Linux 


In future article we will be seeing some more concepts of networking their working, Some more commands 

Stay Tuned ✌✌



Next Post Previous Post
No Comment
Add Comment
comment url