OS/Linux
Linux 에서 IP 추출
뭉기
2018. 4. 21. 19:11
Linux 에서 IP 추출
ip addr | grep global | awk '{print $2}' | cut -d/ -f1