Created
October 4, 2016 16:20
-
-
Save bandarji/a0a2efb389db13a87d13a51c18582ee7 to your computer and use it in GitHub Desktop.
Alias to sort IPv4 addresses
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
alias ipsort='sort -n -t . -k 1,1 -k 2,2 -k 3,3 -k 4,4' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment