This question already has an answer here:
rm dir -r has removed just partial content of
dir/dir1/ (and I cancelled
rm), has it not removed anything in
dir/dir2/ still exists and contains something? My OS is Ubuntu 14.04 and filesystem ext4.
I heard How does rm -r go about recursively removing? In what order?, but can my question be answered more surely?
My OS is 64bit Ubuntu 14.04 with ext4 filesystem.
Knowing if rm completely remove a subdir before removing another subdir is weaker than knowing the order of rm operating in. So my question is not duplicate of the linked one.