What Command will remove a Directory in UNIX?
Answer Posted / swathi
$rm -r dir1
-r removes all contents of dir1 and also dir1 itself.
| Is This Answer Correct ? | 16 Yes | 1 No |
Post New Answer View All Answers
Is there a way to erase all files in the current directory, including all its sub-directories, using only one command?
What command is used to switching between users in unix?
How can you see the command line history?
Which command should you use to find the remaining disk space in unix server?
What is grep command in unix with examples?
How do I run a bash script?
What is the use of finger command?
What does #!/ Bin sh do?
What is the command to find hidden files in the current directory?
Who wrote grep?
Is grep faster than awk?
Explain command to show the space allocation of files?
How do I search for text in vi?
What is the difference between grep and grep?
What is the use of tee command?