I have a cache folder full of junk, I want to delete all the content. I am connected to the server via putty, what command do I need to type to delete everything? I tried rm *.* and it doesn't work.
cd into the folder and then use rm -f * Code (markup): but be very careful that you are in the right directory The -f flag means force, so you will not be prompted individually for every file "Are you sure?", which is a real pain when you're deleting lots of files.