Search for files created in a specific session or ssh date

How can I find all files created by a specific session using ssh?

Or search for files that were created / modified on a specific date?

+3
source share
2 answers

You can use the find command with the various keys -mtime -ctime and -atime

Quote from this link: http://www.softpanorama.org/Tools/Find/selecting_files_by_age.shtml

To find html files that have changed over the past seven 24-hour periods (days), I can use -mtime with the -7 argument (including a hyphen):

find . -mtime -7 -name "*.html" -print
+3
source

lsof -n. , 5 find . -cmin -5.

+2

Source: https://habr.com/ru/post/1751507/


All Articles