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 do you remove a directory?



How do you remove a directory?..

Answer / hr@tgksolutions.com

Directories can be removed using the rmdir command for empty directories. For instance, rmdir directory_name will remove the named directory, provided it's empty. However, if you need to remove a directory and its contents, the rm command with the -r (recursive) option, like rm -r directory_name, becomes useful. Caution is advised, as this operation is irreversible and can quickly delete large amounts of data.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Unix Commands Interview Questions

What is the size of time_t?

0 Answers  


what is the cmd to remove the comment lines from a file and to display the original text without comments? thanks in advance......

5 Answers  


what does the 'tee' command do?

4 Answers  


Which command is used to kill the last background job?

0 Answers  


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

6 Answers  


what is the shell for dos,nt operating systems?

1 Answers  


What is sed awk grep?

0 Answers  


What command is used to switching between users in unix?

0 Answers  


What is the use of egrep command in unix?

0 Answers  


what is virtual machine?

2 Answers   Infosys,


what will be the output of ls ~/..

27 Answers   ABC,


What does the “echo” command do?

0 Answers  


Categories