whoamip
script
This commit is contained in:
Hektor Misplon
2020-10-18 16:09:16 +02:00
parent 803e55fccf
commit fdbf788a6a

View File

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