Managing Networking based on Linux

Hi, How are you !! Hope you doing good....
I got introduced to Cloud initially. As I went ahead learning what is cloud and how it works, then got to know a field which is DevOps that makes Cloud model more effective.
So, as I started working & got good experience on AWS. I have been learning the DevOps tool and technologies on how to use it with the Cloud, which will give me good understanding on how Cloud and DevOps go hand in hand to deploy my applications.
Last Blog Review →
In the last blog we understood, what is ssh keygen, how it’s used, and what are the advantage of using ssh keygen in practical situation. As you can’t give the private .pem file key generated while creating EC2 machine maintaining security. Instead you can create your own ssh keys give the private key to required user’s and then just delete the public key of it later on in the EC2 machine, which stops their access to EC2 machine.
Let’s understand Networking on Linux
To check the IP address - Shows and configures the network interfaces on the current system
ifconfigThe Linux command to display or set the system's hostname
hostnameTo configure wireless network interfaces.
iwconfigTo trace the route that packets take from your system to a destination host or IP address.
traceroute google.comTo connect to remote systems or network services and allowing you to interact with a remote server or device over a text-based interface.
telnet cricket.com 80To query Domain Name System (DNS) servers and retrieve domain name information, such as IP addresses, mail servers, and other DNS records.
nslookup google.comTo display information about a user on the system
finger rajTo check if internet connection is working
ping google.comTo Establishes a secure encrypted shell session with a remote system over the SSH protocol
ssh user@A.B.C.FTo Securely copy files between the local and remote systems using the SSH protocol
scp [options] source destinationTo interact with APIs, download files, upload data, and troubleshoot network services.
curl -O https://cricket.com/schedules.txtTo download files from the web using HTTP, HTTPS, and FTP protocols.
wget -O https://cricket.com/schedules.txtTo displays bandwidth usage on an interface by showing the current connections and the data transfer rates between hosts.
sudo iftop -i eth0to configure a firewall on a Linux system
sudo ufw statusTo see how much bandwidth each process on your system is using
sudo nethogs eth0
Conclusion →
In this blog we understood, basic but very useful commands of the networking used in Linux which are used in day to day life for troubleshooting the connectivity issue.
Image credit → https://olinux.net/linux-network-monitor/




