whoamip
script
This commit is contained in:
Hektor Misplon
2020-10-18 16:09:16 +02:00
parent 14804af5dc
commit 2b17e4bfc3

View File

@@ -1,2 +1,2 @@
#!/usr/bin/env bash
ip addr show wlp3s0 | awk '/inet / {gsub(/\/.*/,"",$2); print $2}'
ip addr show wlan0 | awk '/inet / {gsub(/\/.*/,"",$2); print $2}'