whoamip
script
master
Hektor Misplon 2020-10-18 16:09:16 +02:00
parent 14804af5dc
commit 2b17e4bfc3
1 changed files with 1 additions and 1 deletions

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}'