当前位置:网站首页>How to find file accessed / created just feed minutes ago
How to find file accessed / created just feed minutes ago
2022-07-07 02:55:00 【Rich in starch】
problem :
I always forget which file I edit one minutes ago, so I input find . -cmin 1
I always forget the file I edited a minute ago , So I entered find . -cmin 1
find . -cmin 1
or some other value but it worked exactly 1
minutes.find . -cmin 1
Or some other value , But it just works 1
minute .I had to try find . -ctime 2 /*or 3,4...*/
I have to try find . -ctime 2 /*or 3,4...*/
find . -ctime 2 /*or 3,4...*/
.find . -ctime 2 /*or 3,4...*/
.
Then I find another approach which be better: Then I found another better way :
touch -t 12251134 empty /*similar format which 5 or 10 minutes ago */find . -newer empty
I can use date -d'-5minutes' +%m%d%H%M
caculate the time for me. I can use date -d'-5minutes' +%m%d%H%M
Calculate my time .I want to know if there is a simple way to find files accessed 1, 2 or 3... minutes ago. I wonder if there is a simple way to find 1,2 or 3 Files accessed minutes ago .
Solution :
Reference resources : https://stackoom.com/en/question/wsPc边栏推荐
猜你喜欢
随机推荐
Qpushbutton- "function refinement"
服装企业部署MES管理系统的五个原因
普通测试年薪15w,测试开发年薪30w+,二者差距在哪?
你不可不知道的Selenium 8种元素定位方法,简单且实用
The panel floating with the mouse in unity can adapt to the size of text content
进程管理基础
数论 --- 快速幂、快速幂求逆元
新标杆!智慧化社会治理
[leetcode]Search for a Range
PCL 常用拟合模型及使用方法
Redis入門完整教程:問題定比特與優化
Redis入门完整教程:复制拓扑
c语言(字符串)如何把字符串中某个指定的字符删除?
Redis introduction complete tutorial: client case analysis
Electrical engineering and automation
Code debugging core step memory
差异与阵列和阵列结构和链表的区别
Examples of how to use dates in Oracle
How to design interface test cases? Teach you a few tips to draft easily
Mmdetection3d loads millimeter wave radar data