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

How to get the operating system's information in unix?

6 Answers   IBM, TCS,


Which command is used to kill the last background job?

0 Answers  


what is the use of "grep" command?

6 Answers   HCL,


how to unzip the contents of the gzip file

1 Answers   Epsilon,


why unix operating system provides more security than other operating systems?

4 Answers  


What does #!/ Bin sh do?

0 Answers  


How can you copy files or directories?

1 Answers  


What is the first character of the output in ls l command?

0 Answers  


How do you remove a crontab file?

6 Answers  


how unix kernel distinguishes between a normal file and device file ?

7 Answers   Google, IBM, McAfee, Vodafone,


How can we "forked" process in UNIX? How then recognize in any of the branches we?

2 Answers   NIIT,


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

6 Answers  


Categories