rm(1)

πŸ“¦
version 0.7.0 Β· 4 versions
, in epel 10, fedora 43

🌸 rm(1) β€” the "oops I deleted my whole life" manual, bestie edition 🌸

General Commands Manual ✨ this is rm, section 1, and yes she's that girl.


πŸ’– NAME πŸ’–

rm β€” remove (unlink) the FILE(s) πŸ’…

Like, gone gone. Poof. Not in the trash, not in "recently deleted", just gone.


✨ SYNOPSIS ✨

rm [-f|--force] [-i ] [-I ] [--interactive] [--one-file-system]
[--no-preserve-root] [--preserve-root] [-r|--recursive] [-d|--dir]
[-v|--verbose] [-g|--progress] [-h|--help] [-V|--version] [files]

πŸ¦‹ DESCRIPTION πŸ¦‹

Remove (unlink) the FILE(s) 🫢

That's it. That's the whole vibe. She takes files and she un-alives them. No cap.


πŸŽ€ OPTIONS πŸŽ€

okay so here's the whole menu, bestie, don't skip any of it, every single one matters:

  • -f, --force β€” ignore nonexistent files and arguments, and never prompt. She doesn't want to hear it. She's not asking. πŸ”₯
  • -i β€” prompt before every removal. Every single one. Yes, even that one. Yes, even the one you already said yes to. πŸ™ˆ
  • -I β€” prompt once before removing more than three files, or when removing recursively. Less intrusive than -i, while still giving some protection against most mistakes. This is the reasonable one, lowkey the main character of the flags. πŸ‘‘
  • --interactive[=<WHEN>] β€” prompt according to WHEN: never, once (that's -I), or always (that's -i). Without WHEN, prompts always.

Possible values:

  • always
  • once
  • never
  • --one-file-system β€” when removing a hierarchy recursively, skip any directory that is on a file system different from that of the corresponding command line argument (NOT IMPLEMENTED). Yeah bestie, it's literally not implemented, don't come for me πŸ’€
  • --no-preserve-root β€” do not treat '/' specially. You're on your own with this one, fr fr. 😭
  • --preserve-root β€” do not remove '/' (this is the default). Protection era. πŸ›‘οΈ
  • -r, --recursive β€” remove directories and their contents recursively. The big one. The one that eats folders whole. πŸ“
  • -d, --dir β€” remove empty directories. Only the empty ones, she's not messy like that.
  • -v, --verbose β€” explain what is being done. She'll narrate her own crimes. πŸ’…
  • -g, --progress β€” display a progress bar. Note: this feature is not supported by GNU coreutils. ⭐
  • -h, --help β€” Print help
  • -V, --version β€” Print version
  • [files] β€” the files. The victims. The little guys. πŸ₯Ί

🌈 EXTRA 🌈

By default, rm does not remove directories. Use the --recursive (-r or -R) option to remove each listed directory, too, along with all of its contents.

To remove a file whose name starts with a '-', for example '-foo', use one of these commands:

rm -- -foo
rm ./-foo
⚠️ Note that if you use rm to remove a file, it might be possible to recover some of its contents, given sufficient expertise and/or time. For greater assurance that the contents are truly unrecoverable, consider using shred. So like… she's not a paper shredder, bestie. She's a girl with a delete key and zero regrets. 🧚

πŸ’œ VERSION πŸ’œ

v(uutils coreutils) 0.7.0


okay that's the whole page, ily, go delete responsibly and maybe back up first, mwah πŸŽ€

signing off from the footer: rm (uutils coreutils) 0.7.0, page rm(1), from the uutils coreutils era β€” periodt. πŸ’–βœ¨πŸ¦‹

πŸ“¦ where this page comes from
  • epel 10: rust-coreutils-devel 0.7.0-10.el10_3 Β· MIT
  • epel 10: uutils-coreutils 0.7.0-10.el10_3 Β· (MIT OR Apache-2.0) AND Unicode-DFS-2016 AND Zlib AND (0BSD OR MIT OR Apache-2.0) AND Apache-2.0 AND (Apache-2.0 OR Apache-2.0 WITH LLVM-exception) AND (Apache-2.0 OR GPL-2.0-only) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND BSD-2-Clause AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND BSD-3-Clause AND CC0-1.0 AND ISC AND MIT AND (MIT OR Zlib OR Apache-2.0) AND (MIT-0 OR Apache-2.0) AND Unicode-3.0 AND (Unlicense OR MIT)
  • fedora 43: rust-coreutils-devel 0.7.0-12.fc43 Β· MIT
  • fedora 43: uutils-coreutils 0.7.0-12.fc43 Β· (MIT OR Apache-2.0) AND Unicode-DFS-2016 AND Zlib AND (0BSD OR MIT OR Apache-2.0) AND Apache-2.0 AND (Apache-2.0 OR Apache-2.0 WITH LLVM-exception) AND (Apache-2.0 OR GPL-2.0-only) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND BSD-2-Clause AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND BSD-3-Clause AND CC0-1.0 AND ISC AND MIT AND (MIT OR Zlib OR Apache-2.0) AND (MIT-0 OR Apache-2.0) AND Unicode-3.0 AND (Unlicense OR MIT)
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms