Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How to delete a directory containing files and folders?

Answers were Sorted based on User's Feedback



How to delete a directory containing files and folders?..

Answer / wizard_cmp@yahoo.co.in

rm -r <dir_name>

Is This Answer Correct ?    9 Yes 1 No

How to delete a directory containing files and folders?..

Answer / subbareddy kake

rm <file name>: For deleting the file

rm -i:It will ask conformation

rmdir:For removing the directory

rm -r:It remove recursively all files and directory itself

rm -rf: for deleting the all files and subdirectories in
current directory

Is This Answer Correct ?    7 Yes 0 No

How to delete a directory containing files and folders?..

Answer / padmanaban

"find -type d -iname 'directoryname' | xargs rm -rf" this is
also a way to remove the folder and files.

Is This Answer Correct ?    4 Yes 0 No

Post New Answer

More Unix Commands Interview Questions

What is clustering in HP and how it's work?

1 Answers   HP,


what will this do $cat > file.c ?(file.c is a file in current directory)

20 Answers   IBM,


What is file system in unix??

10 Answers   Symphony,


In UNIX, what is the command to kill a process?

10 Answers  


What does mkdir up2date; touch outdated up2date do?

2 Answers  


How do you list the files in an UNIX directory while also showing hidden files?

6 Answers  


What are the unix commands?

0 Answers  


how to sort the content of the file based on numeric values

0 Answers   Epsilon,


How do you create a directory in UNIX?

1 Answers  


Can you explain a little bit about command substitution?

0 Answers  


What is used to type command?

0 Answers  


Does cp command overwrite files?

0 Answers  


Categories