Menu

Linux IP 확인

2015. 12. 11. 10:49

냥쿤이 Linux


$ ifconfig


공유기를 사용하는 경우에 ifconfig 는 내부 IP 만 보인다 이런 때는


터미널에 아래와 같이 치면 된다.

$ wget -q http://ip.kiduk.kr && more index.html


ubuntu 공유기 아이피 확인

ifconfig | egrep "(^\\w|inet )"