McqMate
Sign In
Hamberger menu
McqMate
Sign in
Sign up
Home
Forum
Search
Ask a Question
Sign In
McqMate Copyright © 2026
→
Bachelor of Computer Applications (BCA)
→
Linux Operating System
→
How would you remove a directory that is...
Q.
How would you remove a directory that is not empty?
A.
rm -r
B.
rm -f
C.
rmdir -f
D.
rmdir -le
Answer» A. rm -r
1.4k
0
Do you find this helpful?
15
View all MCQs in
Linux Operating System
Discussion
No comments yet
Login to comment
Related MCQs
What command, followed by the directory name is used to access that specific directory?
What command is used to remove the directory?
How would you show a list of files and directories that are inside the current directory.
How do you see hidden files in your home directory?
What is the shortest command to take you to your home directory?
How do you copy an entire directory structure? E.g. from Project to Project.backup
Command used to create an empty file.
What command is used to change the working directory?
What command is used to display your current working directory?
In which directory are the crontab files for users stored on suse linux?