![]() |
SSH command to delete everything in a folder?
What's the SSH-command to delete all files and folder within a folder without having to press "y" for every file and folder?
|
rm -f ./
|
very tempting to post the wrong command in hopes that you deleted your whole HDD... but alas i couldnt bring myself to do it.
|
Do it please, I want to whip everything out. I'm canceling one of my servers.
Thanks! |
Quote:
Just saying. :helpme |
to kill your whole hdd, as root, type rm -rf /* or rm-rf / i think works too
of course there's a few ways to format / kill your whole HDD.. this is one |
Quote:
-r means recursive (all subfolders) -f means don't ask me to confirm |
Quote:
rm -rf directorypath/nameofdirectorytoberemoved |
All times are GMT -7. The time now is 05:00 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123