首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >-bash: ip: command not found

-bash: ip: command not found

原创
作者头像
Linux
修改2019-04-08 15:49:43
3.2K0
修改2019-04-08 15:49:43
举报

1、CentOS 7:

  • [root@Centos /]# ip add
  • -bash: ip: command not found
  • [root@Centos /]# yum -y install initscripts

2、Linux可执行文件添加到PATH环境变量:

  • [root@Centos /]# vim /etc/profile
  • export PATH=路径:$PATH
  • [root@Centos /]# source /etc/profile
  • [root@Centos /]# echo $PATH

原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。

如有侵权,请联系 cloudcommunity@tencent.com 删除。

原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。

如有侵权,请联系 cloudcommunity@tencent.com 删除。

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档