ubuntu:bash:rev
Differences
This shows you the differences between two versions of the page.
ubuntu:bash:rev [2019/11/29 10:57] โ created peter | ubuntu:bash:rev [2019/12/07 01:44] (current) โ removed peter | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Ubuntu - Bash - rev ====== | ||
- | |||
- | rev โ reverse lines of a file or files | ||
- | |||
- | ---- | ||
- | |||
- | <code bash> | ||
- | echo this is to be reversed | rev | ||
- | </ | ||
- | |||
- | returns: | ||
- | |||
- | <code bash> | ||
- | desrever eb ot si siht | ||
- | </ | ||
- | |||
- | ---- | ||
- | |||
- | <code bash> | ||
- | rev .bash_profile | ||
- | </ | ||
- | |||
- | returns: | ||
- | |||
- | < | ||
- | eliforp_hsab. # | ||
- | |||
- | snoitcnuf dna sesaila eht teG # | ||
- | neht ;] crhsab./~ f- [ fi | ||
- | crhsab./~ . | ||
- | if | ||
- | |||
- | smargorp putrats dna tnemnorivne cificeps resU # | ||
- | |||
- | nib/ | ||
- | |||
- | HTAP tropxe | ||
- | </ | ||
ubuntu/bash/rev.1575025040.txt.gz ยท Last modified: 2020/07/15 09:30 (external edit)