Created
August 14, 2015 19:40
-
-
Save angelbladex/42a1aeaeb81559aaef08 to your computer and use it in GitHub Desktop.
Sort ip address from a file
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
#!/bin/bash | |
sort -t . -k 1,1n -k 2,2n -k 3,3n -k 4,4n addresses_file |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment