sed:print:print_the_last_2_lines_of_a_file
This is an old revision of the document!
SED - Print - Print the last 2 lines of a file
Emulates “tail -2”.
sed '$!N;$!D'
sed/print/print_the_last_2_lines_of_a_file.1597581428.txt.gz · Last modified: 2020/08/16 12:37 by 192.168.1.1