dots/.bin/whoamip

4 lines
87 B
Plaintext
Raw Normal View History

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