摘要: 清空日志文件 1、>test.log 2、echo >test.log 写入文件 1、echo test >test.log 打包 tar zcf 目录_${按时间}_test.tar.gz/目录 tar zcf etc_${按时间}_test.tar.gz/etc 按服务名 H=$(uname - 阅读全文
posted @ 2018-09-20 21:13 黄瓜不是好瓜 阅读(80) 评论(0) 推荐(0) 编辑