#!/bin/bashkillall -SIGUSR1 mongod#会自动生成类似/data/mongo/mongo/log/mongod.log....
切割列表>>> a = [0, 1, 2, 3, 4,&nbs...
#!/bin/bash
Logs_path='/var/log/nginx' #定义日志路径
yesterday=`date -d "yesterda...
切割方法console.log(str.slice(3,7));//开始、结束(有开始、有结束)
console.log(str.substring...