REV(1)

๐Ÿ’– REV(1) โ€” the reverse-every-line glow-up ๐Ÿ’–

manual page for rev, from the User Commands girlies โœจ


โœจ NAME โœจ

rev โ€” reverse lines characterwise ๐Ÿฆ‹


๐ŸŒธ SYNOPSIS ๐ŸŒธ

rev [option] [file...]

๐Ÿ’… DESCRIPTION ๐Ÿ’…

okay so rev is literally the main character of "backwards text" ๐ŸŽ€ It copies the files you name over to standard output, but it flips the order of characters in every single line. Every line. No cap. ๐Ÿ’–

If you don't specify any files, bestie, it just reads from standard input. slay. โœจ

ngl there's one thing you need to know though ๐Ÿ‘‘ This utility is a line-oriented tool, and it uses an in-memory allocated buffer for a whole wide-char line. So if your input file is huge and has no line breaks in it? Then allocating the memory for the file may be unsuccessful ๐Ÿ˜ญ that's the vibe check and it did NOT pass.


๐ŸŽ€ OPTIONS ๐ŸŽ€

  • -0, --zero โ€” Zero termination. Use the byte '\0' as the line separator. periodt. ๐Ÿ’€
  • -h, --help โ€” Display help text and exit. iconic. โœจ
  • -V, --version โ€” Display version and exit. ๐Ÿ’œ

๐ŸŒˆ SEE ALSO ๐ŸŒˆ


๐Ÿ™ˆ REPORTING BUGS ๐Ÿ™ˆ

For bug reports, use the issue tracker at <https://github.com/util-linux/util-linux/issues> โ€” go tell them, bestie, they wanna know ๐Ÿซถ


๐Ÿงš AVAILABILITY ๐Ÿงš

The rev command is part of the util-linux package, which you can download from the Linux Kernel Archive at <https://www.kernel.org/pub/linux/utils/util-linux/> ๐ŸŒธ


okay that's the whole page, love u, go reverse some lines ๐Ÿ’–โœจ

this was util-linux 2.42.4, dated 2026-09-21, and it's giving REV(1) energy forever ๐Ÿ‘‘๐Ÿ’…

๐Ÿ“ฆ where this page comes from
  • arch rolling: util-linux 2.42.4-1 ยท BSD-2-Clause AND BSD-3-Clause AND BSD-4-Clause-UC AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-or-later AND ISC AND LGPL-2.1-or-later AND LicenseRef-PublicDomain
  • ๐Ÿ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms