摘要: 001、 [root@pc1 test1]# start=$(date +%s) ## 记录程序的开始时间 [root@pc1 test1]# echo $start 1671529118 [root@pc1 test1]# end=$(date +%s) ## 记录程序的结束时间 [root@pc 阅读全文
posted @ 2022-12-20 09:41 小鲨鱼2018 阅读(175) 评论(0) 推荐(0) 编辑
摘要: 001、查找在过去五分钟内修改过的文件 find ./ -mmin -5 002、查找在过去10分钟内修改过的文件 find ./ -mmin -10 003、查找在过去一天内修改过的文件 find ./ -mtime -1 004、查找在过去10天内修改过的文件 find ./ -mtime -1 阅读全文
posted @ 2022-12-20 09:37 小鲨鱼2018 阅读(2048) 评论(0) 推荐(0) 编辑