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
Why is awk called awk?
What do know about tee command?
hw will u use awk in replacing cahrs and files
What will the following command do?
how to sort the content of the file based on numeric values
Which unix command to make a new directory?
Are you in or at the office?
Why is it called a shebang?
What is a bash command?
What does this command do,"$more readme.txt“?
What is the command to view process running?
What is awk good for?
How do I clear my terminal history?
How do I search for text in vi?
How do I use grep to find a file?