zoukankan      html  css  js  c++  java
  • Linux

    这里以查看netstat命令所属的软件包为例。

    CentOS:利用yum provides命令

    netstat命令所属的软件包为net-tools

    [root@CentOS7 ~]# yum provides netstat
    已加载插件:fastestmirror, langpacks
    Loading mirror speeds from cached hostfile
     * base: mirrors.sohu.com
     * extras: mirrors.sohu.com
     * updates: mirrors.163.com
    net-tools-2.0-0.17.20131004git.el7.x86_64 : Basic networking tools
    源    :@anaconda
    匹配来源:
    文件名    :/usr/bin/netstat
    

    Ubuntu:利用apt-cache search命令

    netstat命令所属的软件包为net-tools

    root@Ubuntu1604:~# apt-cache search netstat
    net-tools - NET-3 networking toolkit
    gnome-nettool - GNOME 的网络信息工具
    bwm-ng - small and simple console-based bandwidth monitor
    libparse-netstat-perl - module to parse the output of the "netstat" command
    netstat-nat - tool that display NAT connections
    nicstat - print network traffic statistics
    unhide - Forensic tool to find hidden processes and ports
    whichman - Fault tolerant search utilities: whichman, ftff, ftwhich
    root@Ubuntu1604:~# 
    

    查看net-tools包的信息

    • CentOS:yum info net-tools
    • Ubuntu:apt-cache show net-tools
  • 相关阅读:
    echars柱状图修改每条柱的颜色
    vue打开到新页面,并传递参数
    彻底了解websocket原理
    bind和on的区别
    Vue如何更新子组件
    Vue父子组件生命过程
    使用css3实现动画来开启GPU加速
    前端技术体系
    Vue中的~(静态资源处理)
    垂直居中的办法小结
  • 原文地址:https://www.cnblogs.com/anliven/p/7944717.html
Copyright © 2011-2022 走看看