Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 03-24-2005, 09:56 PM   #1
quiet
we'll miss you our friend. RIP
 
Industry Role:
Join Date: Sep 2001
Location: Fernie, BC
Posts: 25,115
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
__________________
we'll miss you our friend. RIP
quiet is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-24-2005, 09:58 PM   #2
JFPdude
Confirmed User
 
Join Date: Jan 2002
Location: Mountains of Western North Carolina.
Posts: 4,027
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
JFPdude is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-24-2005, 09:59 PM   #3
Triple 6
Confirmed User
 
Join Date: Feb 2002
Location: Location: Location: Location: Location: Location: Location: Location: Location: Location: Location: Location: Location: Location: Location: Location: Location: Location: Location: Location: Location: Location: isN'T everything
Posts: 5,394
rmdir -r


?
__________________
SIG 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.
Triple 6 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-24-2005, 10:00 PM   #4
Triple 6
Confirmed User
 
Join Date: Feb 2002
Location: Location: Location: Location: Location: Location: Location: Location: Location: Location: Location: Location: Location: Location: Location: Location: Location: Location: Location: Location: Location: Location: isN'T everything
Posts: 5,394
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
__________________
SIG 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.
Triple 6 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-24-2005, 11:45 PM   #5
DA2
Confirmed User
 
Join Date: Feb 2005
Posts: 243
rm -ibill
__________________
datwo2 @ gmail.com
DA2 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-24-2005, 11:45 PM   #6
Sosa
In Tushy Land
 
Sosa's Avatar
 
Join Date: Oct 2002
Location: Nebraska
Posts: 40,149
Quote:
Originally Posted by DA2
rm -ibill


lol!! haha
Sosa is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-24-2005, 11:52 PM   #7
JOKER
Facit Omnia Voluntas
 
JOKER's Avatar
 
Industry Role:
Join Date: Apr 2003
Location: Offshore
Posts: 2,105
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

JOKER is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-25-2005, 01:16 AM   #8
quiet
we'll miss you our friend. RIP
 
Industry Role:
Join Date: Sep 2001
Location: Fernie, BC
Posts: 25,115
Quote:
Originally Posted by JOKEREMPIRE
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.
am using ssh.

yeah would rather do rm -r * while in the directory...

thanks
__________________
we'll miss you our friend. RIP
quiet is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-25-2005, 01:17 AM   #9
WiredGuy
Pounding Googlebot
 
Industry Role:
Join Date: Aug 2002
Location: Canada
Posts: 34,482
rm -r * while in the directory you want to flush.
WG
__________________
I play with Google.
WiredGuy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-25-2005, 01:17 AM   #10
PhillipB
Just a Simple Carpenter
 
Join Date: May 2003
Location: Your mom's house...
Posts: 1,338
Quote:
Originally Posted by DA2
rm -ibill

that's great!
PhillipB is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-25-2005, 04:25 AM   #11
Ron Bennett
Confirmed User
 
Join Date: Oct 2003
Posts: 1,653
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
__________________
Domagon - Website Management and Domain Name Sales
Ron Bennett is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-25-2005, 04:27 AM   #12
Brujah
Beer Money Baron
 
Brujah's Avatar
 
Industry Role:
Join Date: Jan 2001
Location: brujah / gmail
Posts: 22,157
rm -rf /
__________________
Brujah is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-25-2005, 04:36 AM   #13
DarkJedi
No Refunds Issued.
 
DarkJedi's Avatar
 
Industry Role:
Join Date: Feb 2001
Location: GFY
Posts: 28,300
Format c:\
DarkJedi is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-25-2005, 04:39 AM   #14
JFPdude
Confirmed User
 
Join Date: Jan 2002
Location: Mountains of Western North Carolina.
Posts: 4,027
Quote:
Originally Posted by Brujah
rm -rf /

Definetly not this answer

This will wipe everything in / (meaning your whole system)
JFPdude is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.