Check the IP address.
To check the IP address, use the "ifconfig" command.
In addition to checking the IP address, the ifconfig command can also be used to change it.
On CentOS7, you can also run the "ip" command with the "a" option instead of ifconfig.
Currently, ifconfig is being replaced by the ip command, and ifconfig may no longer be available in the future.