You can use the ifconfig command to view the IP.
The ifconfig command is used to configure and display the network parameters of the network interface in the Linux kernel.
If you enter ifconfig, the parameters of the network interface will be printed, including physical address, mask address and other network interface related parameters.
View IP method: native IP view method-Linux system?
1. Open the linux server, and then right-click the blank space of the linux desktop, as shown in the figure below.
Several commands for linux to view ip.
Under linux, you can view the IP address of this machine through two commands:
1. supports all Unix systems, including Linux.
#/sbin/ifconfig
2. For Linux, you can also use the ip command to view it. Tip: When there is no ifconfig command, you can use this command to view it.
#ipaddrshow