Revert lines with tail on shell
Today I learned a very simple way to revert a command results on shell. Just use tail
with a -r
flag. Check this out:
$ git tag | tail -r
1.2.0
1.1.0
1.0.0
0.1.1
0.1.0
Tweet
Today I learned a very simple way to revert a command results on shell. Just use tail
with a -r
flag. Check this out:
$ git tag | tail -r
1.2.0
1.1.0
1.0.0
0.1.1
0.1.0
Tweet