If rmdir dir001 fails, what could be the reason(s)?

Stasenndb

New member
If rmdir dir001 fails, what could be the reason(s)?
A. dir001 doesn’t exist
B. dir001 is not empty
C. permissions of dir001 doesn’t allow to remove it
D. dir001 doesn’t exist, dir001 is not empty and permissions of dir001 doesn’t allow to remove it
 
Answer: d
Explanation: There could be multiple reasons which could lead to failure while removing a directory. Major reasons could be:
-> directory doesn’t exists.
-> directory is not empty.
-> permissions of directory doesn’t allow to remove it.
 

Tìm kiếm

Back
Top