1
0
mirror of https://github.com/frebib/dotfiles.git synced 2024-06-14 12:57:23 +00:00

aliases: add ipa & addrs

This commit is contained in:
Joe Groocock 2019-01-19 13:14:05 +00:00
parent c6bd6a83c6
commit b4e3cdeff3
Signed by: frebib
GPG Key ID: E0B16BEACFBB6A86

View File

@ -285,4 +285,8 @@ alias sf=screenfetch
alias nf=neofetch alias nf=neofetch
alias rot13="tr '[A-Za-z]' '[N-ZA-Mn-za-m]'" alias rot13="tr '[A-Za-z]' '[N-ZA-Mn-za-m]'"
# Networking aliases
alias ipa="ip a"
alias addrs="ip a | grep inet | grep -ve fe80 -e '127\\.0\\.0\\.1/8' -e '::1/128' | sort -n | sed 's/^\\s*//'"
# vim: ft=sh # vim: ft=sh