# 네트워크 정보 출력 /sbin/ifconfig # IP 주소 목록 한 줄로 출력, 127.0.0.1이 나올 확률이 높음. hostname -I hostname -i ip address ip addr ip addr show ip addr show eth0
curl https://ipinfo.io/ip
/etc/default/grubGRUB_CMDLINE_LINUX_DEFAULT="net.ifnames=0 biosdevname=0"
sudo update-grubdig 2daygeek.com | awk '{print $1,$5}'
host <domain-name> | grep 'has address' | awk '{print $4}'
nslookup -q=A 2daygeek.com | tail -n+4 | sed -e '/^$/d' -e 's/Address://g' | grep -v 'Name|answer' | xargs -n1
fping -A -d 2daygeek.com magesh.co.in linuxtechnews.com
ping -c 2 2daygeek.com | head -2 | tail -1 | awk '{print $5}' | sed 's/[(:)]//g'
resolveip 2daygeek.com magesh.co.in linuxtechnews.com