{"description":"expect\u30b3\u30de\u30f3\u30c9\u306a\u3089\u5165\u529b\u3092\u81ea\u52d5\u5316\u3067\u304d\u308b\u306e\u3067\u3001\u305d\u308c\u3092\u4f7f\u3063\u3066hackbench\u3092\u52d5\u304b\u3057\u3066\u7d42\u4e86\u3059\u308b\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u66f8\u3044\u3066\u307f\u305f\u3002 expect\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u306f\u3053\u3093\u306a\u611f\u3058\u3067\u3002 [masami@moonlight:~/kvm-img]% cat test.sh #!/usr/bin/expect -- set timeout 600 spawn kvm -hda lenny.img -m 512 -monitor stdio -boot c -serial stdio expect \"lenny login:\" send \"root\\n\" expect \"Password:\" send \"password\\\u2026","published":"2009-12-13 23:22:53","provider_name":"Hatena Blog","image_url":null,"version":"1.0","width":"100%","type":"rich","blog_url":"https://kernhack.hatenablog.com/","categories":["linux"],"title":"\u30b7\u30ea\u30a2\u30eb\u63a5\u7d9a\u3068expect\u30b3\u30de\u30f3\u30c9\u3067\u3001\u51e6\u7406\u306e\u81ea\u52d5\u5316\u3002","blog_title":"\u03c6(\u30fb\u30fb*)\u309e \uff73\uff70\uff9d\u3000\u30ab\u30fc\u30cd\u30eb\u3068\u304b\u5f04\u3063\u305f\u308a\u306e\u30e1\u30e2","author_url":"https://blog.hatena.ne.jp/masami256/","author_name":"masami256","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkernhack.hatenablog.com%2Fentry%2F20091213%2F1260714173\" title=\"\u30b7\u30ea\u30a2\u30eb\u63a5\u7d9a\u3068expect\u30b3\u30de\u30f3\u30c9\u3067\u3001\u51e6\u7406\u306e\u81ea\u52d5\u5316\u3002 - \u03c6(\u30fb\u30fb*)\u309e \uff73\uff70\uff9d\u3000\u30ab\u30fc\u30cd\u30eb\u3068\u304b\u5f04\u3063\u305f\u308a\u306e\u30e1\u30e2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","url":"https://kernhack.hatenablog.com/entry/20091213/1260714173","provider_url":"https://hatena.blog","height":"190"}