A case of obtaining IP through command line under linux
This article mainly introduces the case of obtaining IP by command line under linux, which has certain reference value and can be used for reference by friends who need it. I hope you will learn a lot after reading this article. Next, let the editor take you to learn about it.
The method of obtaining IP by command line under linux: 1, log in to the linux operating system; 2, right-click the desktop and select the terminal; 3, execute the [ifconfig-a] command in the open terminal.
Specific methods:
Open the linux operating system to enter the interface, right-click on the desktop to open the terminal
Enter the ifconfig-a command in the terminal and enter the key.
You can see the ip address in the following figure.
Thank you for reading this article carefully. I hope it will be helpful for everyone to share the case content of obtaining IP through the command line under linux. At the same time, I also hope that you will support us, pay attention to the industry information channel, and find out if you encounter problems. Detailed solutions are waiting for you to learn!