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 pid?

4 Answers  


Describe the zip/unzip command using gzip.

0 Answers  


what is the use of "test" command in unix?

4 Answers  


Give the command to display space usage on the UNIX file system.

16 Answers  


How do I delete files from command prompt?

0 Answers  


Explain the steps that a shell follows while processing a command.

0 Answers  


in UNIX,How to copy file into directory?

5 Answers  


what does the command 'wc' do?

4 Answers  


When the shell is reading the command line what is the difference between text enclosed between double quotes ( ” ) and text enclosed between signal quotes ( ’ )?

3 Answers  


Give the command for finding the current date.

0 Answers  


How to use grep command to list find the records of a file containing 10 different strings?

0 Answers  


Can a process kill itself in UNIX/or in its various versions?

2 Answers  


Categories