Fork me on github

Linux 查看IP

查看IP的两种方法

命令一

ifconfig -a

-a也可以不加。如果出现识别不出来的情况,安装net-tools, apt-get install net-tools

  命令二

ip address show

 

posted @ 2022-12-02 10:31  未配妥剑,已入江湖  阅读(561)  评论(0编辑  收藏  举报