LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-03-2004, 02:21 PM   #1
pasalacqua128
Member
 
Registered: Mar 2004
Posts: 56

Rep: Reputation: 15
removing an entire directory


is there an other way to erase an entire directory other than the rm -r directory command. this one makes you say y to every file.
 
Old 06-03-2004, 02:23 PM   #2
ranger_nemo
Senior Member
 
Registered: Feb 2003
Location: N'rn WI -- USA
Distribution: Kubuntu 8.04, ClarkConnect 4
Posts: 1,142

Rep: Reputation: 47
rm -rf dir_name
 
Old 06-03-2004, 04:37 PM   #3
name_in_use450
Member
 
Registered: Jun 2004
Location: United States
Distribution: slackware 10.0 mostly; used many
Posts: 109

Rep: Reputation: 15
yeah

if under root rm -r is aliased as rm -ri which askes for comfirmation. Use rm -rf (f=force) to override this. *Note* use rm -rf as root VERY catiously.
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to copy an entire directory structure except certain files? thanhvn Programming 9 01-27-2012 11:41 AM
remove entire directory. bruse Linux - Newbie 2 04-27-2005 01:23 AM
Removing an individual plgin association in Mozilla (not the entire plugin) TravisOSF Linux - Software 0 03-14-2004 12:24 AM
download entire directory via ftp peok Linux - General 5 12-27-2003 06:37 AM
changing permissions for entire directory jmarsh Linux - Networking 2 05-13-2003 08:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:24 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration