1. Command function
Tac is the reverse spelling of cat, and its function is to display the contents of the file in reverse.
2. Grammar format
tac option file
3. Example of use
[root@localhost chu]# cat test.txt abcdefg ABCDEFG [root@localhost chu]# tac test.txt ABCDEFG abcdefg