Linux

bash比较文件时间和当前时间
摘要: ft=`date+%Y%m%d%H%M%S-Iseconds-rfilea`ct=`date+%Y%m%d%H%M%S-Iseconds`if["$ct"-gt"$ft"]thenecho"CurrentTimeLargethanfiletime"echo"$ct-$ft="echo$[$ct-$ft]fi上面的秒数计算是不对的。echo $[`date +%H` * 3600 + `date +...阅读全文

posted @ 2006-09-25 22:14 CrazyWill 阅读(1121) | 评论 (0) 编辑

使用TELNET手工操作 IMAP 查看邮件

posted @ 2006-08-12 10:05 CrazyWill 阅读(1076) | 评论 (0) 编辑

安装 samba 记录

posted @ 2006-08-11 20:56 CrazyWill 阅读(922) | 评论 (0) 编辑