top of page
Search
May 28, 20181 min read
find every file updated by a command
touch start;
<DO STUFF>;
find . -cnewer start -printf "%T+\t%p\n" | sort
May 24, 20182 min read
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...
May 19, 20181 min read
find sort by date
find . your-options -printf "%T+\t%p\n" | sort
May 8, 20181 min read
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
Apr 11, 20181 min read
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...
Feb 27, 20182 min read
Find "eth0" in all "*.dt*" files
find . -type f -name "*.dt*" -exec grep -Hi 'eth0' {} \;
bottom of page