A command prompt is a small text at the beginning of the command line followed by the symbol of the prompt on a command-line interface. It is often called a prompt. Once we open the terminal from our Linux machine, we shall get the prompt.
The first part of the entire command (saby) is the username. The second part of the entire command (ubuntu) is the hostname. The third part of the entire command ($) is the prompt symbol.
If you're stuck at any point while running a command, we can get back to the command prompt with the Ctrl + c command.
Every operating system has a unique protocol or client that connects to the system. To connect to the Linux system we can use the Putty terminal or SecureCRT terminal. We have to provide the IP address and Port. Once connected, it shall ask for the credentials.
We shall download Putty into our system.
Congratulations!! We have successfully installed Putty and a shortcut of Putty gets created.
To know the IP address, we have to run the command ifconfig (This is for CentOS/Redhat 5 or 6). For the CentOS/Redhat 7, the command ifconfig gets replaced with ip. From the CentOS/Redhat 7.5 and above, the ifconfig command has been deprecated.
So if we are using Redhat or CentOS 7.5 version, we have run the command ip addr to get the list of all IPs. With Redhat or CentOS 7.5, if we want to use the ifconfig command we have to install a package called net-tools. The complete command is yum install net-tools.
Let us execute the command ip addr command from the command prompt. The IP address gets listed out. Now launch the Putty by double-clicking on it.
Enter the IP address we just obtained by running the ip addr command. The Port field gets populated by default. Enter the machine name in the Saved Sessions field. Click on Save. Then click on Open.
The Putty Security Alert pop up comes up. Click on Yes.
The Putty terminal screen opens up where we have to input our credentials. This is now similar to the GUI login which we have done earlier. If the GUI environment is not set up, we have to depend on Putty to work with Linux.
Myself Debomita Bhattacharjee, an IT employee with 6+ years of experience in Software industry. My area of interest is Automation testing and Front End Development.