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?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Name the unix command to find how many days the server has been up.

1167


How do you grep a case insensitive?

1052


How does the system know where one command ends and another begins?

2259


Which unix command lists files/folders in alphabetical order?

1765


What is the difference between grep and grep?

1137


What is command statement?

1180


What are the commands in UNIX to list the files in a Directory?

1191


What is time_t?

1118


What will the following command do?

1125


Enumerate some of the most commonly used network commands in unix?

1175


Is there a way to erase all files in the current directory, including all its sub-directories, using only one command?

1409


What is s and g in sed command?

1120


Name the various commands that are used for the user information in unix.

1092


hw will u use awk in replacing cahrs and files

3249


What is grep and how do you use it?

1118