摘要: 1.封装函数 #!/bin/bash function log() { echo "$@" } //测试: log "this is a test..." log "today is `date '+%Y-%m-%d'` " 2.设置时间日志 #!/bin/bash function log() { 阅读全文
posted @ 2022-10-12 16:09 Leonardo-li 阅读(199) 评论(0) 推荐(0) 编辑