{"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.mtioutput.com%2Fentry%2Flinux-ip-bcshow\" title=\"\u3010Linux\u301110\u9032\u6570\u306eIP\u30a2\u30c9\u30ec\u30b9\u30922\u9032\u6570\u3067\u8868\u793a\u3059\u308b\u30b9\u30af\u30ea\u30d7\u30c8 - (O+P)ut\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","categories":["UNIX","UNIX-Linux"],"blog_url":"https://www.mtioutput.com/","provider_url":"https://hatena.blog","provider_name":"Hatena Blog","url":"https://www.mtioutput.com/entry/linux-ip-bcshow","published":"2020-07-29 00:00:00","type":"rich","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/m/mtiit/20190708/20190708105146.png","title":"\u3010Linux\u301110\u9032\u6570\u306eIP\u30a2\u30c9\u30ec\u30b9\u30922\u9032\u6570\u3067\u8868\u793a\u3059\u308b\u30b9\u30af\u30ea\u30d7\u30c8","version":"1.0","description":"\u306f\u3058\u3081\u306b IP\u30a2\u30c9\u30ec\u30b9\u3092\u898b\u3066\u3069\u306e\u30b5\u30d6\u30cd\u30c3\u30c8\u306b\u5165\u3063\u3066\u3044\u308b\u304b\u3092\u78ba\u8a8d\u3057\u305f\u3044\u969b\u306b\u3088\u304f\u982d\u306e\u4e2d\u3067\u4e8c\u9032\u6570\u306b\u3057\u3066\u3044\u305f\u306e\u3067\u3059\u304c\u3001\u7c21\u5358\u305d\u3046\u3060\u3063\u305f\u306e\u3067\u5f15\u6570\u306b10\u9032\u6570\u306eIP\u30a2\u30c9\u30ec\u30b9\u3092\u5165\u529b\u3059\u308c\u30702\u9032\u6570\u306b\u3057\u3066\u8fd4\u3059\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u4f5c\u6210\u3057\u307e\u3057\u305f\u3002 \u74b0\u5883\u60c5\u5831 GNU bash, \u30d0\u30fc\u30b8\u30e7\u30f3 4.4.12(3)-release (x86_64-unknown-cygwin) \u30b9\u30af\u30ea\u30d7\u30c8\u30b3\u30fc\u30c9 #!/bin/bash octets[0]=`echo $1 | cut -d\".\" -f1` octets[1]=`echo $1 | cut -d\".\" -f2` octets[2]=`echo $1 | cut -d\".\" -f3` oc\u2026","width":"100%","author_url":"https://blog.hatena.ne.jp/mtiit/","blog_title":"(O+P)ut","author_name":"mtiit","height":"190"}