解决centos7最小化版本没有ifconfig命令的个人笔记
来源:互联网 发布:淘宝客单价计算公式 编辑:程序博客网 时间:2024/05/29 04:31
直接调用命令出错
ifconfig
已知ifconfig命令位于/usr/sbin目录,事实表明该目录本来就在环境变量中了
echo $PATH
查看该目录下确实没有ifconfig命令,可以确认我们的CentOS里边是没有安装ifconfig的
ls /usr/sbin | grep ifconfig
搜索ifconfig命令位于哪个包中(搜索该命令位于哪个包中也可以使用yum provides ifconfig或者yum whatprovides ifconfig,“provides”或者“whatprovides”开关用于找出某个包提供了某些功能或文件)
yum search ifconfig
上一个命令可知ifconfig命令位于net-tools.x86_64包中,所以安装该包
yum install net-tools.x86_64
再次运行该命令,成功,netstat,whois等命令也位于该包下,现在都可以运行成功
ifconfig
0 0
- 解决centos7最小化版本没有ifconfig命令的个人笔记
- centos7没有安装ifconfig命令的解决方法
- centos7没有安装ifconfig命令的解决方法
- centos7没有安装ifconfig命令的解决方法
- centos7没有安装ifconfig命令的解决方法
- centos7没有安装ifconfig命令的解决方法
- 处理CentOS7没有ifconfig的命令方式:
- centos7没有安装ifconfig命令的解决方法
- centos7没有安装ifconfig命令的解决方法
- centos7没有安装ifconfig命令的解决方法
- centos7没有安装ifconfig命令的解决方法
- centos7没有安装ifconfig命令的解决方法
- centos7没有安装ifconfig命令的解决方法
- (三)centos7没有安装ifconfig命令的解决方法---学习笔记
- CentOS7 安装迷你版后,没有ifconfig命令的解决办法
- centos7最小化安装后如何设置出来ifconfig命令!
- CentOS 7 最小化安装后 没有安装ifconfig命令的解决方法
- 解决CentOS 7没有ifconfig命令
- SDUTACM绝对值排序
- HDU-5044 Tree 树链剖分
- Clustering by fast search and find of density peaks的python实现
- 网页爬虫简单demo
- jquery实现腾讯夜学堂功能模块开发
- 解决centos7最小化版本没有ifconfig命令的个人笔记
- MongoDB在linux系统下定时备份
- 自由落体和平抛运动
- openstack on centos 7.1(Shared File Systems)
- 深入理解HTTP Session
- Leetcode-climbing-stairs
- Map遍历
- 隐马尔可夫模型(三)——隐马尔可夫模型的评估问题(前向算法)
- 背包问题