hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : Remove Directories + files
Reply

Hosting Security and Technology Configuring and optimizing web hosting servers and operating systems, developing administration scripts, building servers, protecting against hackers, and general security (SSL certificates, etc.)
Forum Jump

Remove Directories + files

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 07-28-2001, 11:48 PM
Fremont Servers Fremont Servers is offline
Web Hosting Master
 
Join Date: May 2001
Posts: 1,041

Remove Directories + files


For Linux, this is the command to remove a directory and all files and subdirectories in that direct.

rm -r test

( where 'test' is the directory name)

How do I remove a directory and all its files and directory without it prompting me?

I have to "y" on all.
Is there a faster way?

Reply With Quote


Sponsored Links
  #2  
Old 07-28-2001, 11:51 PM
remarkable remarkable is offline
Disabled
 
Join Date: Jul 2001
Location: Henderson, NV
Posts: 298
RTFM

`man rm`

rm -rf test

Reply With Quote
  #3  
Old 07-29-2001, 12:42 AM
ryu ryu is offline
WHT Addict
 
Join Date: Dec 2000
Posts: 119
er, do you mean this is a recurring problem? if so then could it be that you have "alias rm='rm -i'" set in your .bashrc or whatever shell you're using... it's a good safety catch to leave on though...

__________________
Where are we going and why are we in this handbasket?

Reply With Quote
Sponsored Links
  #4  
Old 07-29-2001, 02:03 PM
Fremont Servers Fremont Servers is offline
Web Hosting Master
 
Join Date: May 2001
Posts: 1,041
I was looking for the below command. Thanks!

rm -rf <file>

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
Malwarebytes Launches Data Scan-and-Backup Service Web Hosting News 2013-05-07 14:51:03
Yahoo Integrates Email Client with Dropbox Cloud Storage Web Hosting News 2013-04-04 14:31:40
Court Documents Show Megaupload Helped Feds Take Down File Sharing Service NinjaVideo Web Hosting News 2012-11-21 10:53:49
Web Host Hosting Ireland Launches Online Backup Service CloudBox Web Hosting News 2011-09-27 20:00:52
Web Host Future Hosting Adds New Features to CDN Web Hosting News 2011-06-16 17:30:23


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?