As you undoubtedly know, the rmdir command will remove an empty directory but, if a directory contains files, it will balk and report “Directory not empty”. To remove directories which are in fact ...
Unix was developed as a command line interface in the early 1970s with a very rich command vocabulary. DOS followed more than a decade later for the IBM PC, and DOS commands migrated to Windows.