ifconfig
ifconfig eth0 down 停止eth0网卡
ifconfig eth0 up 启动eth0网卡
ifconfig eth0 192.168.0.2 \设置IP
>network 255.255.255.0 broadcast 192.168.0.255
route
route -n 以IP显示路由,不以正向、逆向查,速度快
路由add/del/ 增加某IP主机路由
标记为 U已启动 H目标是主机IP G gateway设置 M已修改路由
ping [-c number] host 每经一节点,ttl减1,默认255
traceroute host/ip
netstat [-r] [-l] [-an] [-i eth0] [-tul] 网络信息
host domain-name
telnet [-8] [host|ip] [port]
pop3 110 | SMTP 25 | ftp 21 | telnet 23 | ssh 22
ftp操作
ftp host [port]
dir | cd | mget file | mput file | delete file | mkdir dir | lcd | exit
wget http://domain.name/file