LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
LinkBack Search this Thread
Old 09-13-2004, 02:01 PM   #1
jeep99899
LQ Newbie
 
Registered: Aug 2004
Posts: 11

Rep: Reputation: 0
Searched Everywhere


Is there a command that will allow me to delete a complete directory, The directory contains files that prompt me for a y prior to allowing me to delete the file? I know how to use rmdir, but this tells me the directory contains files. Thanks for your help.
 
Old 09-13-2004, 02:06 PM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 3,988

Rep: Reputation: 261Reputation: 261Reputation: 261
rm -rf <directory>

Be carefull with it, particularly as root. See 'man rm' for more info.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Only root has sound, have searched. Serow225 Debian 7 10-29-2004 04:31 AM
I searched and searched so... NeeWom Linux - Software 0 04-16-2004 12:14 PM
telnet problem - I have searched all over skibud2 Linux - Software 9 09-06-2003 07:20 AM
I've searched the threads, pvl Linux - Newbie 2 06-24-2003 10:53 AM
Searched Everywhere... ChrisL Linux - General 5 02-14-2002 10:11 AM


All times are GMT -5. The time now is 02:42 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration