rm on CentOS

Hi,
I know this may sound stupid, but I don't have much experience with CentOS.

I'm trying to delete all files with the .html extension using:

rm -rf *.html

but its not working. I also tried

rm -i *.html and rm -r *.html

and it says it cant find the *.html file.

The .html files are inside the folders of the folder I'm typing this, but even using -rf it's not working.
What command should I use?

Thanks!

 

 

 

 

Top