01 2021 档案

摘要:整理sql数据 脚本 #!/usr/bin/bash cd /path/to/data/dir #data file 可以换成其他方式,这里写死了 # for file in `ls |grep 'prefix' | grep 'suffix'` 可以换成这种方式,如果文件太多的话 file=(da 阅读全文
posted @ 2021-01-25 15:57 漫步ing 阅读(136) 评论(0) 推荐(0) 编辑
摘要:启动脚本 #!/bin/bash bash -c "echo $$ > ${PWD}/processId" /path/to/script.sh 脚本的用途:保存当前进程号到文件processId,启动脚本 后台运行 #!/bin/bashnohup ./start.sh > /path/to/lo 阅读全文
posted @ 2021-01-07 18:45 漫步ing 阅读(273) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示