Last active
June 5, 2017 22:15
-
-
Save cdolek/2d3f9faa6a98f823579ec8b6c0766a76 to your computer and use it in GitHub Desktop.
Get n rows from a text file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# From 2 to 4 | |
sed '2,4!d' somefile.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment