In this episode, I go over how to remove files and directories with the Linux CLI, and I show you some common flags and reasons to use them.
*NOTE*: I am aware that you can use the "rmdir" to remove empty directories; however, I did not go over that command since I have rarely ever used it as a Linux administrator. 99% of the time, I always use "rm -r" to delete my directories since they almost always have files or other directories in them.
Intro - 0:00
Remove files - 1:24
Interactive Flag - 2:20
Wildcards - 4:30
Root User Safety - 7:40
Force flag - 9:52
Remove Directories - 12:45
"rm -rf" - 14:32
Confirm Directory Info - 16:20
Outro - 18:40
Check out my other Linux Episodes - • How To Linux - Episodes