User Tools

Site Tools


ubuntu:bash:rev

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

ubuntu:bash:rev [2019/11/29 10:57] โ€“ created peterubuntu: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 
-</code> 
- 
-returns: 
- 
-<code bash> 
-desrever eb ot si siht 
-</code> 
- 
----- 
- 
-<code bash> 
-rev .bash_profile 
-</code> 
- 
-returns: 
- 
-<code> 
-eliforp_hsab. # 
- 
-snoitcnuf dna sesaila eht teG # 
-neht ;] crhsab./~ f- [ fi 
-crhsab./~ .  
-if 
- 
-smargorp putrats dna tnemnorivne cificeps resU # 
- 
-nib/EMOH$:HTAP$=HTAP 
- 
-HTAP tropxe 
-</code> 
  
ubuntu/bash/rev.1575025040.txt.gz ยท Last modified: 2020/07/15 09:30 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki