Problem Statement
Which command combination creates and removes directories?
Explanation
mkdir creates a new directory, while rmdir removes an empty one.
For non-empty directories, you can use rm -r to delete them recursively.
Code Solution
SolutionRead Only
mkdir newfolder rmdir newfolder
Practice Sets
This question appears in the following practice sets: