Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

first 3 lines of a file

# Take the last line of the top three lines 
head -n 3 my.txt | tail -n 1
 
PREVIOUS NEXT
Tagged: #lines #file
ADD COMMENT
Topic
Name
6+4 =