mirror of
https://github.com/chubin/cheat.sheets
synced 2024-11-19 03:25:44 +00:00
24 lines
416 B
Plaintext
24 lines
416 B
Plaintext
# geo (Bash-Snippets)
|
|
# Provides quick access for wan, lan, router, dns, mac, and ip geolocation data.
|
|
|
|
# Get your wireless area network ip address
|
|
geo -w
|
|
|
|
# Get your local area network ip address(es)
|
|
geo -l
|
|
|
|
# Get your router ip address
|
|
geo -r
|
|
|
|
# Get your DNS name server
|
|
geo -d
|
|
|
|
# Get mac address for supplied interface
|
|
geo -m eth0
|
|
|
|
# Get your current ip address geodata
|
|
geo -g
|
|
|
|
# Combine options
|
|
geo -wlrdgm eth0
|