网站首页  软件下载  游戏下载  翻译软件  电子书下载  电影下载  电视剧下载  教程攻略

请输入您要查询的教程攻略:

 

标题 Fedora系统ifconfig和netstat命令找不到的解决方法
分类 软件教程
内容     
    Fedora是Linux系统中的一种,大部分的操作也需要命令来完成,有用户反映在Fedora系统下使用ifconfig、netstat命令的时候,发现这2个命令找不到了,下面小编就给大家介绍下解决方法。
    Fedora系统ifconfig和netstat命令找不到的解决方法
    如果出现下面问题:
    [root@thunderspeed ~]# ifconfig
    bash: ifconfig: command not found.。。
    [root@thunderspeed ~]#
    [root@thunderspeed ~]# netstat
    bash: netstat: command not found.。。
    [root@thunderspeed ~]#
    分析问题
    1.whereis ifconfig 看一下这个命令在哪个目录下
    2.echo $PATH 看一下该目录是否在路经下,注意lunux下是完全区分大小写的,所以不要忽略这点
    3.执行命令,需要指定路径或者把目录加入PATH中
    于是可以这样访问
      方法一:[root@localhost sbin]$ /sbin/ifconfig 就可以出现使用了
    方法二:[root@localhost sbin]$ export PATH=$PATH:/sbin ,这样设置后,下次就可以直接访问了,免处第一种的麻烦,如:
    [root@localhost /]$ ifconfig
    修改/etc/profile文件,注释掉if语句即可
    把下面的if语句注释掉:
    # Path manipulation
    if [ “$EUID” = “0” ]; then
    pathmunge /sbin
    pathmunge /usr/sbin
    pathmunge /usr/local/sbin
    fi
    修改为
    # Path manipulation
    # if [ “$EUID” = “0” ]; then
    pathmunge /sbin
    pathmunge /usr/sbin
    pathmunge /usr/local/sbin
    #fi
    如果还不行可能需要安装一下使用provides搜索依赖包
    sudo yum provides ifconfig
    搜索结果是: net-tools 因此需要安装 net-tools包即可
    sudo yum install net-tools
    保存,重新启动
    上面就是Fedora找不到ifconfig、netstat命令的方法介绍了,如果你通过本文介绍的方法解决不了问题,也可尝试重新安装这两个命令。
     3. 我想成为模特,这样就能长得又高又漂亮。
        Fedora系统ifconfig和netstat命令找不到的解决方法按图索骥高狗急跳墙瞻远瞩37. 人生千灯万盏,不如心灯一盏。在这个世界上立足,若是我们想取得一定的曾经,那么我们要少一点胆怯,多一点勇气;少一点自卑,多一点自信;少一点疑虑,多一点信任。事实上,信任本身就意味着勇气和自信。在我们的生命中,友谊其中的一种非常珍贵的感情。140.管中窥豹,可见一斑。《晋书》    莫把幺弦拨,怨极弦能说。天不老,情难绝,心似双丝网,中有千千结。夜过也,东窗未白孤灯灭。云开远见汉阳城,犹是孤帆一日程。ifconfig命令找不到,linuxifconfig找不到,linuxnetstat命令Current wisdom says that (当前流行的看法认为)if you want a successful product, you need first to perform detailed market analysis, making sure that there are plenty of people who need the new product and that your entry into the market will be able to gain a significant share of that market.
随便看

 

霍普软件下载网教程攻略栏目提供软件使用教程、手机游戏攻略等方法技巧。

 

Copyright © 2002-2024 101bt.net All Rights Reserved
更新时间:2025/3/23 7:05:08