TAC(1) General Commands Manual TAC(1)

tac
display file in reverse

tac [file ...]

tac (cat backwards) outputs the contents of each of each of the specified files, or the standard input if no files are specified, in reverse line order to the standard output.

The tac utility exits 0 on success, and >0 if an error occurs.

The tac utility doesn't support any of the options of GNU tac.

cat(1), tail(1)
October 1, 2017 NetBSD 9.4