sed:print:print_last_n_lines_of_a_file
SED - Print - Print last N lines of a file
Emulates “tail”.
For example, to print the last 10 lines of a file:
sed -e :a -e '$q;N;11,$D;ba'
sed/print/print_last_n_lines_of_a_file.txt · Last modified: 2020/08/17 10:08 by 192.168.1.1