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