First open the linux server, and then right-click on a blank space on the linux desktop, as shown in the figure below. (Recommended learning: linux tutorial)
In the pop-up drop-down option, directly click [Open Terminal], as shown below shown.
After opening the command terminal of the linux server, you can use the get ip address command to query it, as shown in the figure below.
Enter the command to query the IP address of Linux: ifconfig -a, and then press Enter, as shown in the figure below.
After using the view linux ip address command, the ip address will be displayed in the terminal command window, as shown in the figure below.
If we don’t want to open the Linux server to check the IP address, we can also query the IP address through the remote login shell tool. The command is the same, as shown below shown.
The above is the detailed content of How to check linux ip. For more information, please follow other related articles on the PHP Chinese website!