Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

tail file first 100 lines linux

#view data file and create new file (linux) 
tail -100 note.txt
head -100 note.txt
tail -100 note.txt > note_last_100_line.txt
head -100 note.txt > note_first_100_line.txt
 
PREVIOUS NEXT
Tagged: #tail #file #lines #linux
ADD COMMENT
Topic
Name
4+2 =