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
What is the nmap command?
how to sort the content of the file based on numeric values
What is the use of sed command in unix?
Why is it called grep?
What are bash commands?
When i run a programm of orphan process. Instead of getting child's parent (ppid)=1 ..i get 1400 and it varies as per system.
How can i findthe right soluion???
My pgm:
#include
Does cp command overwrite files?
How do you grep a case insensitive?
Write a command to kill the last background job?
Can you enlist some commonly used network commands?
What is {} in find command?
What is grep short for?
What is the command to compare two files in unix?
What is merge command in unix?
why metadb requires a seperate slice to create Solaris volume manager