SyntaxFix
Write A Post
Hire A Developer
Questions
I would use something along these lines...
netstat -rn | grep "default" | awk '{print $2}'