linux下的netstat命令
Displaying the Routing Table:
netstat -nr
Displaying Interface Statistics:
netstat -i
Show the address resolution (ARP) tables:
netstat -p
Displaying Connections:
netstat -ta (linux)
netstat -a -f af:inet (opensolaris)
http://www.faqs.org/docs/linux_network/x-087-2-iface.netstat.html
http://docs.sun.com/app/docs/doc/816-5166/netstat-1m?l=en&a=view&q=netstat
相关文档:
切换到root用户下,
service iptables status 用于查看是否有开启防方墙.
service iptables stop 用于关闭防火墙.
service iptables start 用于打开防火墙.
防火墙的开启有时会限制外部访问服务器上的端口失败. ......
linux 常用命令总结:
一。 通用命令:
1. date :print or set the system date and time
2. stty -a: 可以查看或者打印控制字符(Ctrl-C, Ctrl-D, Ctrl-Z等)
3. passwd: print or set the system date and time (用passwd -h查看)
4. logout, login: 登录shell的登录和注销命令
5. pwd: print or set the system ......
前几天把系统的root密码给忘了,不知道怎么解决,到网上搜了个解决办法,与大家共享。
在出现系统选择界面时,在Red Hat Linux的选项上按“e”键,然后会出现三个选项,在第二项类似“ kernel /vmlinuz-2.4.20-8 ro root=LABEL=/”上按“e”键进行编辑,在“ro”或者&l ......