Looking a for bash command to display gateway address of eth0
I am looking for a bash command that will output only the gateway address for eth0. I have been looking around the forums and on the net but have not had any luck. The only thing I have found that comes close is using
netstat -r | grep default but the problem it display alot of extra stuff
|