当前位置:网站首页>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 1find . -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 emptyI 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边栏推荐
- wzoi 1~200
- Introduction to ins/gps integrated navigation type
- LeetCode 77:组合
- Error in fasterxml tostringserializerbase
- Qpushbutton- "function refinement"
- Redis入门完整教程:问题定位与优化
- Apifox, is your API interface document rolled up like this?
- Redis入门完整教程:复制配置
- A complete tutorial for getting started with redis: problem location and optimization
- Redis入门完整教程:AOF持久化
猜你喜欢

左程云 递归+动态规划

Redis Getting started tutoriel complet: positionnement et optimisation des problèmes

Electrical engineering and automation

普通测试年薪15w,测试开发年薪30w+,二者差距在哪?

What are the characteristics of the operation and maintenance management system

MATLB|具有储能的经济调度及机会约束和鲁棒优化
![[socket] ① overview of socket technology](/img/91/dccbf27a17418ea632c343551bccc0.png)
[socket] ① overview of socket technology

2022 spring recruitment begins, and a collection of 10000 word interview questions will help you
Django database (SQLite) basic introductory tutorial

What management points should be paid attention to when implementing MES management system
随机推荐
The panel floating with the mouse in unity can adapt to the size of text content
Introduction to ins/gps integrated navigation type
6-6 vulnerability exploitation SSH security defense
Wireshark installation
INS/GPS组合导航类型简介
What are the characteristics of the operation and maintenance management system
如何设计好接口测试用例?教你几个小技巧,轻松稿定
Fundamentals of process management
Number theory --- fast power, fast power inverse element
左程云 递归+动态规划
Code debugging core step memory
Examples of how to use dates in Oracle
进程管理基础
CDB PDB user rights management
从控制理论的角度谈数据分析
Redis getting started complete tutorial: replication configuration
一文读懂Faster RCNN
Qt蓝牙:QBluetoothDeviceInfo
数字滚动增加效果
Derivative, partial derivative, directional derivative