Welcome to Incremental Social! Learn more about this project here!
Check out lemmyverse to find more communities to join from here!

jimmydoreisalefty ,
@jimmydoreisalefty@lemmy.world avatar

edit: spacing, added -rf info

The Linux rm Command: Everything You Need to Know

There's more to rm than meets the eye.

https://www.howtogeek.com/858815/linux-rm-command/


Use rm -rf to Delete Everything

If you absolutely need to delete anything and everything, just use the command:

rm -rf

That combines the -f flag, which forces deletion, with the -r flag, which will delete folders recursively. We previously included the -v argument (to make it verbose), but it isn't necessary. Just keep in mind that this is basically the nuclear option, and you shouldn't use it unless you're absolutely sure you want something gone forever.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • linuxmemes@lemmy.world
  • random
  • incremental_games
  • meta
  • All magazines