User Tools

Site Tools


bash:tac

This is an old revision of the document!


Bash - tac

tac - concatenate or print in reverse (last line first)

tac > f1

1 2 Press CTRL+D to stop

tac f1
<code>
 
1
2
 
<code bash>
tac vid.avi > vid2.avi ; mv vid2.avi vid.avi

It wont play.

tac vid.avi > vid2.avi ; mv vid2.avi vid.avi

Back to playable.

NOTE: This is like a mini encryption for binary files.

bash/tac.1486430291.txt.gz ยท Last modified: 2020/07/15 09:30 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki