i'm very rusty at this sort of thing... thanks for any help
command for wiping everything in a dir will logged in via telnet?
Collapse
X
-
ah ok, -rf
yea be sure where you are at, cuz that will wipe it down with no confirm shit that -r asks ya firstSIG TOO SMALL! Maximum 1200x600 button and no more than 30 text lines of ALL SIZES and COLORS. Unless your sig is for a GFY top banner sponsor, then you may use a 6240x4800 instead of a 1024x800.Comment
-
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.Facilitation - BizDev - Traffic - Consulting - Marketing
Skype: jokerempire | Silent Circle: joker
Comment
-
am using ssh.Originally posted by JOKEREMPIREFirst 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.
yeah would rather do rm -r * while in the directory...
thanks
we'll miss you our friend. RIPComment
-
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.
RonDomagon - Website Management and Domain Name SalesComment
-

Comment