- No.
- 12
- Date
- Learning goal
- Terminal Start, lesson 7
- Level
- 2 of 3
Command of the day No. 12: rmdir
Purpose: Deletes a folder, but only when it is empty.
Syntax: rmdir folder
Example:
rmdir old
rmdir Documents
rmdir: failed to remove 'Documents': Directory not empty Output from the simulator, as on a real Linux.
Options:
Try it in the terminal Share image
Fills in the command. Nothing runs until you press Enter.