command in linux to delete a directory | Unix Linux Forums | Linux

  Go Back    


Linux RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here!

command in linux to delete a directory

Linux


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 11-07-2005
guptavikas1 guptavikas1 is offline
Registered User
 
Join Date: Nov 2005
Last Activity: 8 November 2005, 10:49 PM EST
Location: bangalore
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
command in linux to delete a directory

hi all,
can anybody tell me command(in linux) to delete a directory which have other directories & files in it.
its urgent

thanks
vikas
Sponsored Links
    #2  
Old 11-07-2005
zazzybob's Avatar
zazzybob zazzybob is offline Forum Advisor  
Registered Geek
 
Join Date: Dec 2003
Last Activity: 13 May 2013, 9:02 AM EDT
Location: Melbourne, Australia
Posts: 2,185
Thanks: 3
Thanked 24 Times in 23 Posts
rm -rf /some/directory

Be *very* careful.....

Cheers
ZB
Sponsored Links
    #3  
Old 11-08-2005
guptavikas1 guptavikas1 is offline
Registered User
 
Join Date: Nov 2005
Last Activity: 8 November 2005, 10:49 PM EST
Location: bangalore
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
thank u very much zazzybob

Quote:
Originally Posted by zazzybob
rm -rf /some/directory

Be *very* careful.....

Cheers
ZB

thank u very much zazzybob
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Delete empty files from a directory entered in command prompt adirajup Shell Programming and Scripting 6 02-18-2012 05:26 AM
How to delete some of the files in the directory, if the directory size limits the specified size shaal89 Shell Programming and Scripting 0 02-10-2012 08:22 AM
Linux delete script in sub-directory android Shell Programming and Scripting 4 03-18-2010 09:03 AM
Single command to delete a directory jorogon0099 Homework & Coursework Questions 5 10-13-2009 06:10 PM
How to delete Directory and inside files using Find command bmkreddy Solaris 3 07-10-2007 02:35 PM



All times are GMT -4. The time now is 08:34 PM.