{"id":98,"date":"2017-01-21T20:06:02","date_gmt":"2017-01-21T11:06:02","guid":{"rendered":"http:\/\/clouds.tokyo\/blog\/?p=98"},"modified":"2017-02-28T17:34:00","modified_gmt":"2017-02-28T08:34:00","slug":"diff_dir","status":"publish","type":"post","link":"https:\/\/clouds.tokyo\/blog\/diff_dir\/","title":{"rendered":"\u3010Linux\u3011diff\u30b3\u30de\u30f3\u30c9\u3067\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u6bd4\u8f03\u3059\u308b"},"content":{"rendered":"<p>diff\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u3046\u30682\u3064\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u6bd4\u8f03\u3057\u3066\u7570\u306a\u3063\u3066\u3044\u308b\u90e8\u5206\u3092\u8868\u793a\u3057\u3066\u304f\u308c\u307e\u3059\u304c\u3001<\/p>\n<pre>\r\ndiff index.html index2.html\r\n<\/pre>\n<p>-r\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u3064\u3051\u308b\u3068\u30c7\u30a3\u30ec\u30af\u30c8\u3054\u3068\u6bd4\u8f03\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre>\r\ndiff -r \/opt\/www \/opt\/stage1\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>diff\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u3046\u30682\u3064\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u6bd4\u8f03\u3057\u3066\u7570\u306a\u3063\u3066\u3044\u308b\u90e8\u5206\u3092\u8868\u793a\u3057\u3066\u304f\u308c\u307e\u3059\u304c\u3001 diff index.html index2.html -r\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u3064\u3051\u308b\u3068\u30c7\u30a3\u30ec\u30af\u30c8\u3054\u3068\u6bd4\u8f03\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002 diff &#8211; &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/clouds.tokyo\/blog\/diff_dir\/\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;\u3010Linux\u3011diff\u30b3\u30de\u30f3\u30c9\u3067\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u6bd4\u8f03\u3059\u308b&#8221; \u306e<\/span>\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"_jetpack_newsletter_access":""},"categories":[2],"tags":[29,30,31,95],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/sezW3u-diff_dir","jetpack-related-posts":[{"id":82,"url":"https:\/\/clouds.tokyo\/blog\/ls_r\/","url_meta":{"origin":98,"position":0},"title":"\u3010Linux\u3011ls\u30b3\u30de\u30f3\u30c9\u3067\u518d\u5e30\u7684\u306b\u8868\u793a\u3059\u308b","author":"yamamoto","date":"2006\u5e746\u670820\u65e5","format":false,"excerpt":"ls\u30b3\u30de\u30f3\u30c9\u306f\u65e5\u5e38\u7684\u306b\u4f7f\u3044\u307e\u3059\u304c\u3001\u518d\u5e30\u8868\u793a\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u4f55\u3060\u3063\u305f\u304b\u306a\u3001\u3068\u3044\u3046\u3053\u3068\u304c\u3088\u304f\u3042\u308a\u307e\u3059\u3002 ls\u2026","rel":"","context":"\u5099\u5fd8\u9332","block_context":{"text":"\u5099\u5fd8\u9332","link":"https:\/\/clouds.tokyo\/blog\/category\/memo\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":102,"url":"https:\/\/clouds.tokyo\/blog\/ls_wc_count\/","url_meta":{"origin":98,"position":1},"title":"\u3010Linux\u3011\u30d5\u30a1\u30a4\u30eb\u306e\u6570\u3092\u6570\u3048\u308b","author":"yamamoto","date":"2016\u5e7411\u670816\u65e5","format":false,"excerpt":"ls\u30b3\u30de\u30f3\u30c9\u3068wc\u30b3\u30de\u30f3\u30c9\u3092\u7d44\u307f\u5408\u308f\u305b\u308c\u3070\u30d5\u30a1\u30a4\u30eb\u6570\u3092\u30ab\u30a6\u30f3\u30c8\u3067\u304d\u307e\u3059\u3002 ls -1 | wc -l\u2026","rel":"","context":"\u5099\u5fd8\u9332","block_context":{"text":"\u5099\u5fd8\u9332","link":"https:\/\/clouds.tokyo\/blog\/category\/memo\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":100,"url":"https:\/\/clouds.tokyo\/blog\/grep_search\/","url_meta":{"origin":98,"position":2},"title":"\u3010Linux\u3011grep\u3067\u30d5\u30a1\u30a4\u30eb\u306e\u4e2d\u8eab\u3092\u691c\u7d22\u3059\u308b","author":"yamamoto","date":"2016\u5e7412\u67087\u65e5","format":false,"excerpt":"grep\u30b3\u30de\u30f3\u30c9\u3067\u30d5\u30a1\u30a4\u30eb\u306e\u4e2d\u8eab\u306e\u691c\u7d22\u304c\u3067\u304d\u307e\u3059\u3002 grep '\u30ad\u30fc\u30ef\u30fc\u30c9' hogehoge.tx\u2026","rel":"","context":"\u5099\u5fd8\u9332","block_context":{"text":"\u5099\u5fd8\u9332","link":"https:\/\/clouds.tokyo\/blog\/category\/memo\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":69,"url":"https:\/\/clouds.tokyo\/blog\/rsync_ssh\/","url_meta":{"origin":98,"position":3},"title":"\u3010Linux\u3011rsync\u3067\u30b5\u30fc\u30d0\u9593\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u540c\u671f","author":"yamamoto","date":"2005\u5e7410\u670826\u65e5","format":false,"excerpt":"\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u306a\u3069\u306e\u76ee\u7684\u3067\u3001rsync\u3092\u4f7f\u3063\u3066\u30b5\u30fc\u30d0\u9593\u3067\u30d5\u30a1\u30a4\u30eb\u3092\u540c\u671f\u3059\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002 \u5b9a\u671f\u7684\u306b\u81ea\u2026","rel":"","context":"\u5099\u5fd8\u9332","block_context":{"text":"\u5099\u5fd8\u9332","link":"https:\/\/clouds.tokyo\/blog\/category\/memo\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":941,"url":"https:\/\/clouds.tokyo\/blog\/linux_python27\/","url_meta":{"origin":98,"position":4},"title":"\u3010Linux\u3011CentOS6\u306bPython2.7\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u81ea\u52d5\u7684\u306b\u6709\u52b9\u306b\u3059\u308b","author":"yamamoto","date":"2018\u5e741\u670829\u65e5","format":false,"excerpt":"\u5148\u65e5Let's Encrypt\u306e\u30ed\u30b0\u306bWarning\u304c\u51fa\u3066\u3044\u307e\u3057\u305f\u3002 WARNING: couldn\u2026","rel":"","context":"\u5099\u5fd8\u9332","block_context":{"text":"\u5099\u5fd8\u9332","link":"https:\/\/clouds.tokyo\/blog\/category\/memo\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":759,"url":"https:\/\/clouds.tokyo\/blog\/linux_lets_cent5\/","url_meta":{"origin":98,"position":5},"title":"\u3010Linux\u3011CentOS5\u3067Let&#8217;s Encrypt\u3092\u4f7f\u3063\u3066\u30de\u30eb\u30c1\u30c9\u30e1\u30a4\u30f3\u306eSSL\u8a3c\u660e\u66f8\u3092\u767a\u884c\u3059\u308b","author":"yamamoto","date":"2017\u5e746\u670821\u65e5","format":false,"excerpt":"CentOS5\u3067\u30b7\u30b9\u30c6\u30e0\u3092\u904b\u7528\u3057\u3066\u3044\u307e\u3059\u30022010\u5e74\u306b\u30ea\u30ea\u30fc\u30b9\u3057\u305f\u30b7\u30b9\u30c6\u30e0\u3067\u3059\u3002 \u65b0\u3057\u3044OS\u306b\u4e57\u308a\u63db\u2026","rel":"","context":"\u5099\u5fd8\u9332","block_context":{"text":"\u5099\u5fd8\u9332","link":"https:\/\/clouds.tokyo\/blog\/category\/memo\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/posts\/98"}],"collection":[{"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/comments?post=98"}],"version-history":[{"count":2,"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/posts\/98\/revisions"}],"predecessor-version":[{"id":132,"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/posts\/98\/revisions\/132"}],"wp:attachment":[{"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/media?parent=98"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/categories?post=98"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/tags?post=98"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}