mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-31 05:41:49 +00:00
18 lines
303 B
Plaintext
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}}`
|