Last active
July 24, 2026 20:47
-
-
Save binarykore/bfbf2b237240f6c8b3e0006bc73242c0 to your computer and use it in GitHub Desktop.
Show Default of Gateway in a Network..
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| ip route | grep default | awk '{print $3}' | |
| //REMOTE_ADDR |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment