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
Who wrote grep?
Explain how to use grep command to list find the records of a file containing 10 different strings?
Enlist some filename manipulation commands in unix.
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
What does the metacharacter mean?
What is nr in awk command?
What does grep v grep do?
Which unix command to make a new directory?
How does the system know where one command ends and another begins?
How do I use grep to find a file?
What's a command word?
What does the “echo” command do?
What are the differences among a system call, a library function, and a unix command?
How can we use grep command in unix?
What is rmdir command?