Команда tac: опции, ключи и примеры использования
tac
Print and concatenate files in reverse.
- Print the contents of file1 reversed to the standard output:
tac {{file1}}
- Concatenate several files reversed into the target file:
tac {{file1}} {{file2}} > {{target_file}}
Также может быть вам интересно: