6 lines
102 B
Plaintext
Raw Normal View History

2020-05-09 21:26:23 +02:00
#!/bin/sh
# Local IP.
2020-05-08 20:35:40 +02:00
ip a show wlp8s0 | grep -Eo '(inet)?*([0-9]*\.){3}[0-9]*' | grep -v '**\.255'