sed:print:print_the_last_n_lines_of_a_file
Differences
This shows you the differences between two versions of the page.
sed:print:print_the_last_n_lines_of_a_file [2020/08/17 08:50] – created 192.168.1.1 | sed:print:print_the_last_n_lines_of_a_file [2020/08/17 10:08] (current) – removed 192.168.1.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== SED - Print - Print the last N lines of a file ====== | ||
- | Emulates " | ||
- | |||
- | For example, to print the last 10 lines of a file: | ||
- | |||
- | <code bash> | ||
- | sed -e :a -e ' | ||
- | </ |
sed/print/print_the_last_n_lines_of_a_file.1597654240.txt.gz · Last modified: 2020/08/17 08:50 by 192.168.1.1