Tuesday, 13 August 2019

cat and tac commands

cat and tac commands

cat -  cat - concatenate files and print on the standard output
tac - concatenate and print files in reverse

[root@rifle ~]# cat one.txt
There are just some text lines.
And again...
And again...
[root@rifle ~]# tac one.txt
And again...
And again...
There are just some text lines.

No comments: