Many times when you are working with some application which create some lock/log/shared/record files you want to know what is happening for a sort time ago for example. The quick trick with the find tool allow you to find for example all files which ware created/changed for _xyz_ minutes ago.
How to find quickly new created files in some directory:
$ find /tmp/ -cmin -1 -maxdepth 1
$ find /tmp/ -cmin -10 -maxdepth 1
Search This Blog
Wednesday, November 4, 2009
Subscribe to:
Post Comments (Atom)
I have a easy and a quick command to locate and to use this command at the terminal you will have to type:
ReplyDelete$ locate -i searchstring
This will search all the files and directories with "Searchstring" in the name, and -i means the search is not case sensitive, and you will get the result instantly
Hope you like this command.configuration management