What is the command to view the ip address in centos? How to query the IP address on CentOS?
Recommended: "Linux Tutorial"
Open CentOS system:
Enter the user name and password:
Enter the ipconfig command to view the ip, and the result prompts ipconfig: command not found
Enter the ip command, and found that the original command was changed:
Enter ip add to view the host IP address:
Another trick is to ping an inaccessible IP and view your own IP
The above is the detailed content of What is the command to check ip address in centos?. For more information, please follow other related articles on the PHP Chinese website!