摘要: result=$(sqlplus -s 'ccc/ccc@21.96.34.34:1521'<<EOF ..... EOF ) 阅读全文
posted @ 2019-01-09 14:36 圣金巫灵 阅读(1726) 评论(0) 推荐(0) 编辑
摘要: $# 参数格式 $0 $1 $2 ...第一个,第二个参数。。。 阅读全文
posted @ 2019-01-09 14:34 圣金巫灵 阅读(2970) 评论(0) 推荐(0) 编辑
摘要: man date 可以看到 date [option] [+FORMAT] 使用+format可以转换时间 date +%s 将当前时间转为秒 date +%Y%m%d 将当期时间转为年月日字符串 有一个参数 --date=String 将制定字符串时间转为date 如:date --date="2 阅读全文
posted @ 2019-01-09 14:33 圣金巫灵 阅读(212) 评论(0) 推荐(0) 编辑