TIL - 2023-04-11 // Delete entire directory with Bash
Delete an entire directory and all contents within using the rm command and -r option
The rm
command is used to remove a file. Using rm -r
will remove a directory and all contents within.
Practical usage:
rm -r dir