• 0 Posts
  • 2 Comments
Joined 1 year ago
cake
Cake day: October 16th, 2025

help-circle

  • myszka@lemmy.mltoLinux@lemmy.ml•A joke...
    link
    fedilink
    arrow-up
    0
    ·
    11 days ago

    Another tip: use rmdir to remove empty directories instead of rm -rf. rmdir fails if the dir turns out to still contain some files. This way you’ll mitigate the risk of accidentally nuking a directory full of important data.