How to remove a directory in Linux?
You run rmdir on a folder you just created and it works, then you run the same command on a folder with a single file inside and get Directory not empty. That split is the whole design of directory removal in Linux, and once you see which tool guards against data loss and which one
How to remove a directory in Linux? Read More »