hosted by liquidweb


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

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?



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

  #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...

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

Related posts from TheWhir.com
Title Type Date Posted
The Pirate Bay Uploads Continue to Grow Despite Anti-Piracy Pressure Web Hosting News 2013-12-31 11:33:12
IceWEB Releases Version 3.0 of Cloud Storage Solution Web Hosting News 2013-08-28 11:11:13
Egnyte Synchronizes Google Drive with Private Cloud Storage Web Hosting News 2013-07-17 12:36:21
ownCloud Releases Latest Version of Enterprise Private Cloud Platform Web Hosting News 2013-07-16 14:20:14
Malwarebytes Launches Data Scan-and-Backup Service Web Hosting News 2013-05-07 14:51:03


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?