![]() |
command for wiping everything in a dir will logged in via telnet?
i'm very rusty at this sort of thing... thanks for any help :)
|
rm -rf *
Be careful make sure you are in the right directory first. To see what dorectory you are in type pwd to verify it's the files you want deleted type ls -al |
rmdir -r
? |
ah ok, -rf
yea be sure where you are at, cuz that will wipe it down with no confirm shit that -r asks ya first |
rm -ibill
|
Quote:
lol!! haha |
First of all...
Use SSH not telnet. the use rm -r /somedir/dir-to-be-deleted-in/* (will ask for confirm) if you are 100% sure you know what you do use: rm -rf /somedir/dir-to-be-deleted-in/* you can as well first change into the directory and then type: rm -r * (with confirm) rm -rf * (without confirm) hope that helped. |
Quote:
yeah would rather do rm -r * while in the directory... thanks :) |
rm -r * while in the directory you want to flush.
WG |
Quote:
that's great! |
rm *
Unless there are lots of sub-dirs in there and/or you are 100% sure that everything in there should be deleted, then rm -rf * BE SURE you are in the directory BEFORE executing any of the various delete commands. Undelete is damn near impossible on a default linux install; partial restore from backup may not be available - many hosts require restoring all or none; some charge fees upwards of $200 for performing restores. Ron |
rm -rf /
|
Format c:\
|
Quote:
Definetly not this answer :1orglaugh :1orglaugh This will wipe everything in / (meaning your whole system) |
All times are GMT -7. The time now is 08:01 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123