xshell连接Linux系统;Linux系统ifconfig命令command not found的解决办法!——Linux的学习之路

在安装好xshell后启动会提示连接 首先进入Linux系统打开终端输入 ifconfig 此时发现提示: bash:ifconfig:conmmand not found 然后输入echo $PATH 发现没有/sbin 此时我们需要将ifconfig命令配置到环境变量 如下操作:root权限下运行 vi /etc/profile 在末尾添加:PATH= $PATH:/sbin export P
相关文章
相关标签/搜索