一些脚本
----检查磁盘空间------------------bin/shd1=`df -h | grep /home | awk '{print $5}' | awk -F% '{print $1}'`if [ $d1 -ge 80 ]thenecho "`date +%F" "%H:%M:%S` The disk is not enough ,the message from i...
linux date -d 参数
linux中用shell获取昨天、明天或多天前的日期:在Linux中对man date -d 参数说的比较模糊,以下举例进一步说明:# -d, --date=STRING display time described by STRING, not `now’[root@Gman root]# date -d next-day...
oracle用户名密码特殊字符
问题记录:建用户 san.zhang 密码san.zhangcreate user "san.zhang" identified by "san.zhang";发现登录是只能是 conn "san.zhang"/ "san.zhang" 而无法去掉双引号登录。...