【文件属性】:
文件名称:Linux 常用命令(xls 文件)非常实用
文件大小:43KB
文件格式:XLS
更新时间:2013-05-06 02:56:11
Linux
Linux 常用命令(xls 文件)非常实用
networking (Note ifconfig, route, mii-tool, nslookup commands are obsolete)
• ip link show List interfaces
ethtool interface List interface status
ip link set dev eth0 name wan Rename eth0 to wan
ip addr add 1.2.3.4/24 brd + dev eth0 Add ip and mask(255.255.255.0)
ip link set dev interface up Bring interface up (or down)
ip route add default via 1.2.3.254 Set default gateway to 1.2.3.254
• tc qdisc add dev lo root handle 1:0 netem delay 20msec Add 20ms latency to loopback device (for testing)
• tc qdisc del dev lo root Remove latency added above
• host pixelbeat.org Lookup ip address for name or vice versa
• hostname -i Lookup local ip address (equivalent to host `hostname`)
• netstat -tupl List internet services on a system
• netstat -tup List active connections to/from system
网友评论
- 全英文的,看着累
- 全英文的,看着累