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

What are awk commands?

1220


What is the behavioural difference between cmp and diff commands?

1338


Who command in unix operating system?

1187


What are bash commands?

1219


What is the use of the tee command?

1151


What does awk stand for?

1142


How do you grep recursively?

1152


Is there any method to erase all files in the current directory, along with its all sub-directories, by using only one command?

1281


What is the difference between cat command and more command?

1262


Is it inbetween or in between?

1104


What will the following command do?

1172


What is grep r?

1156


Who command in unix?

1186


Which unix command lists files/folders in alphabetical order?

1845


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

1318