Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

How to remove every other line with sed?

ls -l | sed '1~2d'
 
PREVIOUS NEXT
Tagged: #How #remove #line
ADD COMMENT
Topic
Name
6+9 =