mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2024-11-10 02:39:40 +00:00
Update ip-show alias
This commit is contained in:
parent
b0848fb41a
commit
8a094ddd03
|
@ -109,7 +109,6 @@ alias grep_mac='grep -E `reg_mac`'
|
|||
alias massgrep='grep -RHIni'
|
||||
|
||||
# Network
|
||||
alias ip-show='curl https://ipinfo.io/ip' # Show public IP address
|
||||
alias ip-info='curl https://ipinfo.io/json' # Show public IP info (IP,region,country,timezone,...)
|
||||
alias ips="ifconfig -a | grep -oE \"inet6? (addr:)?s?\`reg_ip\`\" | awk '{ sub(/inet6? (addr:)? ?/, \"\"); print }'"
|
||||
alias lan-device-scan='nmap -T5 -sP 192.168.0.0-255'
|
||||
|
|
Loading…
Reference in a new issue