Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

linux find latest modified files

find . -type f -exec stat -c '%Y %n' {} ; | sort -nr | awk 'NR==1,NR==3 {print $2}'
Source by unix.stackexchange.com #
 
PREVIOUS NEXT
Tagged: #linux #find #latest #modified #files
ADD COMMENT
Topic
Name
3+6 =