3 years ago
Just as you can create a folder using mkdir, you can delete a folder using rmdir:
You can also delete multiple folders at once:
mkdir fruits cars
rmdir fruits cars
The folder you delete must be empty.
A quick guide to the rmdir command, used to remove a folder