Skip to content

Instantly share code, notes, and snippets.

View richardstrnad's full-sized avatar
💭
💻 Coding

Richard Strnad richardstrnad

💭
💻 Coding
View GitHub Profile
@richardstrnad
richardstrnad / reset_routing_table.sh
Last active January 14, 2020 07:47 — forked from midwire/reset_routing_table.sh
Reset routing table on OSX
#!/usr/bin/env bash
# Reset routing table on OSX
# display current routing table
echo "********** BEFORE ****************************************"
netstat -rn
echo "**********************************************************"
for i in {0..4}; do
sudo route -n flush # several times