History | View | Annotate | Download (80 Bytes)
#!/bin/bash
PUBLIC=$(ip route | grep default | awk '{print $5}')
echo $PUBLIC