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

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

1161


What is awk good for?

1085


Is command prompt unix?

1093


How does pipe () work?

1038


Explain command to view process running?

1065


What is the use of the tee command?

1050


Describe the zip/unzip command using gzip.

1097


Which command is used to copy files?

1119


What does the command ' $who | sort –logfile > newfile' do?

1234


What is s and g in sed command?

1055


What is $0 bash?

1127


What is awk command used for?

1125


What does pipe () return?

1022


What does grep v grep do?

1019


What does awk stand for?

1031