sed:delete:delete_last_2_lines_of_a_file
SED - Delete - Delete last 2 lines of a file
sed 'N;$!P;$!D;$d'
sed/delete/delete_last_2_lines_of_a_file.txt · Last modified: 2020/08/17 09:13 by 192.168.1.1
sed 'N;$!P;$!D;$d'