Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1251002
  • 博文数量: 247
  • 博客积分: 5587
  • 博客等级: 大校
  • 技术积分: 2060
  • 用 户 组: 普通用户
  • 注册时间: 2010-02-24 13:27
文章分类
文章存档

2012年(101)

2011年(44)

2010年(102)

分类: LINUX

2010-05-31 22:25:26

#有时间学下iptables

查看当前服务器的端口监听状态:
netstat -tunl
显示已经联机的连接状态:
netstat -tun
查看端口对应的是什么服务:
netstat -antlp
判断一个服务是开启还是关闭状态(如sshd):
chkconfig --list sshd
在linux运行级3和5下关闭sendmail服务:
chkconfig --level 35 sendmail off
chkconfig --list sendmail



阅读(718) | 评论(0) | 转发(0) |
0

上一篇:春水碧于天,画船共雨眠

下一篇:状态

给主人留下些什么吧!~~