sed:print:print_last_2_lines_of_a_file
SED - Print - Print last 2 lines of a file
Emulates “tail -2”.
sed '$!N;$!D'
sed/print/print_last_2_lines_of_a_file.txt · Last modified: 2020/08/17 10:09 by 192.168.1.1
Emulates “tail -2”.
sed '$!N;$!D'