Summary of solutions to common problems in Linux (3) View IP under Linux

Enter ip to query the name ip addr You can also enter ifconfig ( centOs7 does not have the ifconfig command) to view the ip, but this command will appear 3 entries, the ip address of centos is the inet value in the third line.

Guess you like

Origin blog.csdn.net/qq_40959462/article/details/126771549