Linux下基于端口的服务检查脚本
作者 佚名技术
来源 Linux系统
浏览
发布时间 2012-05-17
#!/bin/bash #program:Usingtostudythe[if...then...fi]program #dsk2007/10/83:00 #content:Iwillusingthisprogramtoshowyousevices #1.printtheprogram''''sworkinyourscreen echo "Now,the service of your Linux system will be detect!" echo "The www,ftp,ssh,and sendmail pop3 will be detect!" echo "" #2.www www=`netstat -ntlp | awk ''{print $4}'' | grep :80
|