Last active
September 1, 2016 03:35
-
-
Save bgshacklett/4fd3fc1fb6e777dbfad853614ee5b735 to your computer and use it in GitHub Desktop.
Useful Bash OneLiners
This file contains 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 http://stackoverflow.com/questions/191364/quick-unix-command-to-display-specific-lines-in-the-middle-of-a-file | |
# Print lines 20 to 40 of a text file: | |
sed -n '20,40p;41q' file_name | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment