Debian利用ifconfig查看IP地址

操作系统 2 年前 回复

, , ,

一、查看debian系统是否安装ifconfig命令

使用whereis ifconfig可以看到没有安装ifconfig命令。

二、安装ifconfig命令

sudo apt-get install net-tools

再次使用whereis ifconfig可以看到已经安装ifconfig命令。

三、使用ifconfig命令查看IP地址

sudo ifconfig

可以查看出本机IP

原文参考https://blog.csdn.net/u013541325/article/details/124576492

支付宝打赏微信打赏

如果此文对你有帮助,欢迎打赏作者。


Deprecated: str_contains(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/wwwroot/hilau.com/wp-includes/comment-template.php on line 2684

发表评论

欢迎回来 (打开)

(必填)