Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

sed print all lines except last

sed $d	#For grepping all lines of a file except last line
 
PREVIOUS NEXT
Tagged: #sed #print #lines
ADD COMMENT
Topic
Name
9+8 =