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
Which command can you use to find the currently running process in unix server?
Describe the zip/unzip command using gzip.
What do know about tee command and its usage?
Explain ‘system calls’ with respect to unix commands?
what is the advaantage of each user having its own copy of the shell?
Differentiate cat command from more command.
Which command is used to delete all files in the current directory and all its sub-directories?
Explain command to show the space allocation of files?
What is awk good for?
What is a bash command?
What is the command to compare two files in unix?
What are the dos commands?
What is the behavioural difference between cmp and diff commands?
What is unix command line?
What does grep v grep do?