Home>Article>Operation and Maintenance> How to obtain IP through command line in linux
How to obtain IP through the command line under Linux: 1. Log in to the Linux operating system; 2. Right-click on the desktop and select Terminal; 3. Execute the [ifconfig -a] command in the open terminal. .
Specific method:
(Video tutorial recommendation:linux video tutorial)
Open linux The operating system enters the interface, right-click on the desktop to open the terminal
In the terminal, enter the ifconfig -a command and press the Enter key
You can see the IP address as shown below.
Related recommendations:linux tutorial
The above is the detailed content of How to obtain IP through command line in linux. For more information, please follow other related articles on the PHP Chinese website!