dots/.bin/whoamip

3 lines
86 B
Plaintext
Raw Normal View History

2020-05-13 19:07:44 +02:00
#!/usr/bin/env bash
2020-10-18 16:09:16 +02:00
ip addr show wlan0 | awk '/inet / {gsub(/\/.*/,"",$2); print $2}'