`

查看linux 的IP

 
阅读更多

查看linux server的/etc/hosts 文件

 

例如:

# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1        localhost.localdomain localhost
::1        localhost6.localdomain6 localhost6
192.168.1.114        mylinuxserver

 

其中192.168.1.114为linux server的IP地址

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics