RM(1)

πŸ“¦ version 1.053, in alpine 3.24

RM(1) πŸ’…βœ¨

okay bestie, this is the rm(1) page from User Contributed Perl Documentation β€” folding that manual-name info right in here at the top instead of copying the header line, iykyk. The vibe is simple: remove directory entries.

🌸 NAME 🌸

rm β€” remove directory entries.

✨ SYNOPSIS ✨

rm [-fiPrRv] file ...

πŸ“ DESCRIPTION πŸ“

lowkey there's no extra description prose here β€” the original page goes straight from this heading to OPTIONS. so the options are about to carry the whole conversation, and honestly? slay.

πŸŽ€ OPTIONS πŸŽ€

  • -f β€” do not prompt the user for each file, and do not consider it an error if a file cannot be removed. no nagging, no extra drama.
  • -i β€” prompt the user for each file. yes bestie, one by one.
  • -P β€” a no-op, for compatibility. the page's note on it is literally: β€œSo implementations would overwrite files with random data” β€” quoted exactly, don't come for me.
  • -r β€” same as -R.
  • -R β€” remove directories recursively. it's giving β€œgo all the way down”.
  • -v β€” show the name of each file after it is removed. a little receipt, a little narration. iconic.

πŸ‘‘ AUTHOR πŸ‘‘

Copyright (c) brian d foy, bdfoy@cpan.org.

The original version of this program was written by Steve Kemp, steve@steve.org.uk, but almost none of that remains. periodt.

🌈 LICENCE 🌈

This program is licensed under the Artistic License 2.0. legal queen behavior.


okay that's the whole page, bestie 🫢 this one is from perl v5.42.2, dated 2026-02-15 β€” mwah, bye πŸ’–

πŸ“¦ where this page comes from