Wednesday, May 8, 2024
28
rated 0 times [  28] [ 0]  / answers: 1 / hits: 94108  / 3 Years ago, wed, october 20, 2021, 1:30:19

Is there any command to display the recently modified/created files?



Which one...?


More From » command-line

 Answers
6

Just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the command(s) below:



find ${1} -type f | xargs stat --format '%Y :%y %n' 2>/dev/null | sort -nr | cut -d: -f2-


See Find command



Source:Linux


[#27270] Thursday, October 21, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
heaco

Total Points: 479
Total Questions: 124
Total Answers: 114

Location: Lesotho
Member since Sat, Oct 1, 2022
2 Years ago
heaco questions
Sun, Aug 15, 21, 03:08, 3 Years ago
Thu, Oct 14, 21, 16:28, 3 Years ago
Thu, Jun 30, 22, 09:40, 2 Years ago
;