Find files on minutes basis

Hello,

I was trying to find files which are created in last five minutes .
I tried to use command find with ntime and mtime but was not successfull then i read from this forum that we can not have a find option on minutes or seconds or hours......

Can somebody Pls expalin how can i search for last hr, min, and sec files by one single command....

Thanks
Aparna

to find files which are created in last five minutes:
$ find -type f -mmin -5

Hello while running this command

find -type f -mmin -5
find: bad option -mmin

even i tried with path described too......

PLS SUGGEST
Aparna

Are you running an non GNU system? I believe that only the GNU version of the find command allows you to search for files created/modified in the last few minutes or hours... However your question has been answered on this site several times before. Go to the FAQs and on that page, look for the 'advanced/complex uses of the find command'. The posts in that will be exactly what you want.