LFCA 17 🐧 Deleting Files and Directories — rm, rmdir
Deleting is the most dangerous thing you do on a Linux system. There’s no Trash, no Recycle Bin, no undo — rm unlinks a file and the space is gone. Two commands handle deletion: rm removes files and (with the right flags) directories, and rmdir removes empty directories only. They’re simple to type and catastrophic…