#!/bin/bash
echo "Now, the services of your Linux system will be detect!"
echo -e "The www, ftp, ssh, and mail will be detect! \n"
testing=`netstat -tuln | grep ":80 "`
if [ "$testing" != "" ]; then
echo "WWW is running in your system."
fi
[问题]7.10中有错误的shell script
-
- 帖子: 131
- 注册时间: 2006-10-25 17:50
- 来自: 南京
- 联系: