红联Linux门户
Linux帮助

在LINUX下有些命令出问题呢?请教一下!!

发布时间:2007-12-19 19:56:01来源:红联作者:mjbhhxx
我在LINUX 9下的终端中 键入 "ifconfig" or "ipconfig" “ls”等命令
系统提示 commond not found
怎么回事呢?
:0)1
文章评论

共有 3 条评论

  1. gxf 于 2007-12-19 21:28:23发表:

    先用whereis ifconfig看一下命令的具体路径(yourpath),为了方便把环境变量加到~/.bash_profile文件中去[code]$vi /~/.bash_profile
    添加export PATH=$PATH:yourpath[/code]

    [ 本帖最后由 gxf 于 2007-12-19 21:29 编辑 ]

  2. mjbhhxx 于 2007-12-19 21:13:34发表:

    怎样来设置呢?
    :0)1

  3. deepwhite 于 2007-12-19 20:05:00发表:

    修改~/bash_profile,设置路径。