#!/bin/bash
count=0
echo $count
for line in `ls ./filename*`
do
        count=$(($count+1))
done

if [ $count -gt 0 ]; then
        echo "You got the New Mail From Server" | mail -s "New File Arrive" receiver_mail@localhost
fi


arrow
arrow
    全站熱搜
    創作者介紹
    創作者 thoao 的頭像
    thoao

    Brian--小曹個人Blog天空

    thoao 發表在 痞客邦 留言(0) 人氣()