User Tools

Site Tools


ubuntu:file:print_the_first_few_lines_of_a_file

This is an old revision of the document!


Ubuntu - File - Print the first few lines of a file

Print the first 6 lines of a file.

awk 'NR <= 6' filename
ubuntu/file/print_the_first_few_lines_of_a_file.1574889864.txt.gz ยท Last modified: 2020/07/15 09:30 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki