sed:print:print_first_n_lines_of_a_file

This is an old revision of the document!


SED - Print - Print first N lines of a file

Emulates behavior of “head”.

For example, to print first 10 lines of a file:

sed 10q
sed/print/print_first_n_lines_of_a_file.1597653930.txt.gz · Last modified: 2020/08/17 08:45 by 192.168.1.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki