ARTICLE DETAIL

资讯详情

深耕网站建设、视觉设计与SEO优化的一线实战洞察。

现代Linux网络命令简介

现代Linux网络命令简介

都是字符界面的、很小的。

iftop: /usr/sbin/iftop

display bandwidth usage on an interface by host

nethogs: /usr/sbin/nethogs

  Net top tool grouping bandwidth per process

nload: /usr/bin/nload

  displays the current network usage

network-manager: /usr/bin/nmcli

  A command-line tool for controlling NetworkManager and reporting network status.

  It can be utilized as a replacement for nm-applet or other graphical clients.

    •  nmcli connection show
    •  nmcli connection up

wireless-tools: /sbin/iwconfig

  configure a wireless network interface

iproute2: /sbin/ip

  show / manipulate routing, network devices, interfaces and tunnels


 

/etc/network/interfaces

/etc/sysconfig/network-scripts/ifcfg-eth0

 

返回列表