当前位置:网站首页>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边栏推荐
猜你喜欢
服装企业部署MES管理系统的五个原因
Google Earth engine (GEE) -- 1975 dataset of Landsat global land survey
Left value, right value
How to write test cases for test coupons?
Digital scrolling increases effect
Redis入门完整教程:AOF持久化
Redis入门完整教程:复制拓扑
左程云 递归+动态规划
ERROR: Could not find a version that satisfies the requirement xxxxx (from versions: none)解决办法
KYSL 海康摄像头 8247 h9 isapi测试
随机推荐
Unity使用MaskableGraphic画一条带箭头的线
C language exercises_ one
Kysl Haikang camera 8247 H9 ISAPI test
MetaForce原力元宇宙佛萨奇2.0智能合约系统开发(源码部署)
普通测试年薪15w,测试开发年薪30w+,二者差距在哪?
牛客编程题--必刷101之双指针篇
How to write test cases for test coupons?
Cglib agent in agent mode
What management points should be paid attention to when implementing MES management system
Number theory --- fast power, fast power inverse element
软件测试——Jmeter接口测试之常用断言
A complete tutorial for getting started with redis: AOF persistence
Fundamentals of process management
CDB PDB user rights management
HAVE FUN | “飞船计划”活动最新进展
Difference and the difference between array and array structure and linked list
CSDN 夏令营课程 项目分析
A complete tutorial for getting started with redis: RDB persistence
[socket] ① overview of socket technology
[leetcode]Search for a Range