Question : linux terminal check internet connection
Answered by : dizzy-dog-g8p8trqkpc8p
# method 1 ping
ping google.com
# method 2 curl
curl -I https://linuxhint.com/
# method 3 list adapters
ip a
# check default gateway
ip r
Source : | Last Update : Wed, 19 Jan 22