User Tools

Site Tools


bash:files:display_the_first_few_lines_of_a_file

BASH - Files - Display the first few lines of a file

Display the first 6 lines of a file.

awk 'NR <= 6' filename
bash/files/display_the_first_few_lines_of_a_file.txt · Last modified: 2022/06/13 12:13 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki