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:
parent
c6bd6a83c6
commit
b4e3cdeff3
4
aliases
4
aliases
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user