美文网首页Linux使用问题
ifconfig 提示bash: ifconfig: comma

ifconfig 提示bash: ifconfig: comma

作者: 小马驹在路上 | 来源:发表于2019-05-27 08:40 被阅读0次

问题原因:系统变量的$PATH中,没有/sbin路径

解决办法:

1. 使用/sbin/ifconfig

2. 修改系统变量:export PATH=$PATH:/sbin

如果本文章为你解决问题提供了帮助,请不要吝啬为以后的分享热情添一把柴

相关文章

网友评论

    本文标题:ifconfig 提示bash: ifconfig: comma

    本文链接:https://www.haomeiwen.com/subject/jjfctctx.html