Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

how to print specific line from a file in bash

head -LINE_NUMBER file_name | tail +LINE_NUMBER
Source by linuxhandbook.com #
 
PREVIOUS NEXT
Tagged: #print #specific #line #file #bash
ADD COMMENT
Topic
Name
2+9 =