Show Default Gateway with ip command

Show default gateway in linux with ip command.
ip route show | grep default | awk '{ print $3}'
 


Posted

in

by