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...

What Command will remove a Directory in UNIX?

Answer Posted / sambasivarao

This has two options

1) If directory is an empty directory
$rmdir <directory name>

2) If it is non-empty directory
$rm -rf <directory name>

-r means delete recursively
-f means delete forcibly.

It deletes your mentioned directory without informing
you that it is going to delete the whole directory (sub
directories and files in that directory)

J. Sambasivarao
91+ 9948280248

Is This Answer Correct ?    24 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is unix command?

1212


What are some command words?

1100


How do I search for a file in unix command?

987


How do I delete files from command prompt?

1168


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

1036


What is the difference between cat command and more command?

1146


What does #!/ Bin sh do?

1034


What is the size of time_t?

1170


What is the command to view process running?

1077


Does cp command overwrite files?

1150


What is the use of finger command?

1163


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

1250


Who command in unix?

1102


What is the significance of the 'tee' command?

1159


Which unix command to make a new directory?

1083