Files
cheatsheet-tldr/rev
2024-02-21 11:19:49 +00:00

18 lines
303 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# rev
> Reverse a line of text.
> More information: <https://manned.org/rev>.
- Reverse the text string "hello":
`echo "hello" | rev`
- Reverse an entire file and print to `stdout`:
`rev {{path/to/file}}`