{"categories":["linux","shell"],"published":"2010-07-10 04:09:47","provider_name":"Hatena Blog","author_name":"dharry","blog_title":"harry\u2019s memorandum","version":"1.0","blog_url":"https://dharry.hatenablog.com/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdharry.hatenablog.com%2Fentry%2F20100710%2F1278702587\" title=\" \u6700\u8fd1\u77e5\u3063\u305fLinux/UNIX\u306e\u5c0f\u6280 - harry\u2019s memorandum\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"\u6700\u8fd1\u77e5\u3063\u3066\u7d50\u69cb\u30b7\u30e7\u30c3\u30af\u3092\u53d7\u3051\u305f\u3002 touch hoge.txt \u3068\u4f3c\u305f\u3088\u3046\u306a\u6a5f\u80fd\u3002*1 $ > hoge.txt $ ls -l hoge.txt -rw-r--r-- 1 root root 0 Jul 10 03:15 hoge.txt less\u3067tail -f \u304c\u3067\u304d\u308b\u3002 $ sudo less +F /var/log/messages SSH\u3067\u30ea\u30e2\u30fc\u30c8\u30b5\u30fc\u30d0\u306b\u5bfe\u3057\u3066\u8272\u3005 \u30ea\u30e2\u30fc\u30c8\u5148\u306e\u30d5\u30a1\u30a4\u30eb\u3092sort\u3057\u3066\u6bd4\u8f03\u3002\u30d1\u30b9\u30d5\u30ec\u30fc\u30ba\u306a\u3057\u306b\u3059\u308b\u304b\u3001ssh-agent\u3092\u4f7f\u7528\u3059\u308b\u304b\u3057\u3066\u304f\u3060\u3055\u3044\u3002 $ diff <(sort /home/user/.bashrc) <(ssh user@hostname\u2026","author_url":"https://blog.hatena.ne.jp/dharry/","type":"rich","image_url":null,"height":"190","title":" \u6700\u8fd1\u77e5\u3063\u305fLinux/UNIX\u306e\u5c0f\u6280","provider_url":"https://hatena.blog","width":"100%","url":"https://dharry.hatenablog.com/entry/20100710/1278702587"}