tac - concatenate and print files in reverse
tac 是 cat 的反转版本, 内容会被反转之后输出。
例如:
file:
hello world.
你好世界。
$ tac file
你好世界。
hello world.
tac 是 cat 的反转版本, 内容会被反转之后输出。
例如:
file:
hello world.
你好世界。
$ tac file
你好世界。
hello world.