{"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmzp.hatenadiary.org%2Fentry%2F20080103%2Ftail\" title=\"tail -f - \u307f\u305a\u3074\u30fc\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","published":"2008-01-03 00:00:00","image_url":null,"provider_url":"https://hatena.blog","provider_name":"Hatena Blog","height":"190","title":"tail -f","version":"1.0","blog_url":"https://mzp.hatenadiary.org/","url":"https://mzp.hatenadiary.org/entry/20080103/tail","author_name":"mzp","categories":["Python","30\u5206\u30d7\u30ed\u30b0\u30e9\u30e0"],"description":"30\u5206\u30d7\u30ed\u30b0\u30e9\u30e0\u3001\u305d\u306e214\u3002tail -f\u3092\u4f5c\u3063\u3066\u307f\u3088\u3046\u3002 tail -f\u306f\u3001\u30d5\u30a1\u30a4\u30eb\u3092\u76e3\u8996\u3059\u308b\u305f\u3081\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u3002tail -f hoge.log\u3068\u3084\u308b\u3068hoge.log\u306b\u8ffd\u8a18\u3055\u308c\u308b\u305f\u3073\u306b\u3001\u305d\u308c\u3092\u8868\u793a\u3057\u3066\u304f\u308c\u308b\u3002 $ tail hoge.log 0 1 2 $ tail -f hoge.log 0 1 2 # \u3053\u3053\u3067\u7d42\u4e86\u3057\u306a\u3044 3 # <- \u65b0\u3057\u304f\u8ffd\u52a0\u3055\u308c\u305f\u884c\u3053\u308c\u30921\u79d2\u3054\u3068\u306b\u30d5\u30a1\u30a4\u30eb\u3092\u76e3\u8996\u3059\u308b\u3053\u3068\u3067\u5b9f\u73fe\u3057\u3066\u307f\u305f\u3002\u3082\u3063\u3068\u8ce2\u3044\u65b9\u6cd5\u304c\u3042\u3063\u305f\u308a\u3059\u308b\u3093\u3060\u308d\u3046\u304b\u3002 \u3042\u3068sleep\u304ctime\u30e2\u30b8\u30e5\u30fc\u30eb\u306b\u3042\u308b\u306e\u306f\u3069\u3046\u306a\u3093\u3060\u308d\u3046\u3002\u6700\u521d\u3001sys\u3068\u304bos\u3092\u63a2\u3057\u305f\u3088\u3002 \u4f7f\u3044\u65b9 $ python tail-f.py \u2026","author_url":"https://blog.hatena.ne.jp/mzp/","type":"rich","width":"100%","blog_title":"\u307f\u305a\u3074\u30fc\u65e5\u8a18"}