Home >Operation and Maintenance >Linux Operation and Maintenance >How to query ip address in linux
How to query the IP address in Linux: 1. Open the Linux operating system and enter the operation interface; 2. Right-click the mouse on the desktop and select "Open Terminal"; 3. Execute the "ifconfig -a" command in the terminal , the IP address can be viewed in the output results.
#The operating environment of this tutorial: Red Hat Enterprise Linux 6.1 system, Dell G3 computer.
How to query the IP address in Linux:
First open the Linux operating system and enter the operation interface.
Right-click on the desktop to open the terminal.
Enter the ifconfig -a
command in the terminal and press the Enter key.
#You can see the IP address in the picture below.
Related recommendations: "Linux Video Tutorial"
The above is the detailed content of How to query ip address in linux. For more information, please follow other related articles on the PHP Chinese website!