top of page


find every file updated by a command
touch start;
<DO STUFF>;
find . -cnewer start -printf "%T+\t%p\n" | sort


Find all text files
This blog is a repost of the best answer I've found to-date for: find all text files. It also contains some additional info on how the...


find sort by date
find . your-options -printf "%T+\t%p\n" | sort


Find files updated less then 3 minutes ago, less then 10 minutes ago
To find a file that was update 3 minutes ago on Linux type find . -cmin 3 To find a file that was updated 10 minutes ago type: find . -cmin


Print the name of a file and the file's contents
This post lists a Linux command that will print the name of a file and then print the contents of that file. The following command will...


Find "eth0" in all "*.dt*" files
find . -type f -name "*.dt*" -exec grep -Hi 'eth0' {} \;
bottom of page