User Tools

Site Tools


file:print_a_specific_line_in_a_file

This is an old revision of the document!


File - Print a specific line in a file

Print the 17th line.

awk 'NR==17 {print;exit}' filename
file/print_a_specific_line_in_a_file.1468174134.txt.gz ยท Last modified: 2020/07/15 09:30 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki