internal-ip 136 B

12345
  1. #!/bin/sh
  2. # script to display the internal ip of the current connected network
  3. ip a | grep "inet 192" | tr '/' ' ' | awk '{print $2}'