May 28, 20181 min readfind every file updated by a commandtouch start; <DO STUFF>; find . -cnewer start -printf "%T+\t%p\n" | sort
May 24, 20182 min readFind all text filesThis 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 8, 20181 min readFind files updated less then 3 minutes ago, less then 10 minutes agoTo 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 readPrint the name of a file and the file's contentsThis 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 readFind "eth0" in all "*.dt*" filesfind . -type f -name "*.dt*" -exec grep -Hi 'eth0' {} \;