{"id":8495,"date":"2023-01-28T11:10:23","date_gmt":"2023-01-28T02:10:23","guid":{"rendered":"https:\/\/lab4ict.com\/system\/?p=8495"},"modified":"2023-09-08T06:38:24","modified_gmt":"2023-09-07T21:38:24","slug":"linux%e3%81%a7%e9%87%8d%e8%a4%87%e3%81%97%e3%81%a6%e3%81%84%e3%82%8b%e8%a1%8c%e3%82%921%e8%a1%8c%e3%81%ab%e3%81%be%e3%81%a8%e3%82%81%e3%82%8b%ef%bc%81%ef%bc%88uniq%ef%bc%89","status":"publish","type":"post","link":"https:\/\/lab4ict.com\/system\/archives\/8495","title":{"rendered":"Linux\u3067\u91cd\u8907\u3057\u3066\u3044\u308b\u884c\u30921\u884c\u306b\u307e\u3068\u3081\u308b\uff01\uff08uniq\uff09"},"content":{"rendered":"<p>Linux\u3067\u91cd\u8907\u3057\u3066\u3044\u308b\u884c\u30921\u884c\u306b\u307e\u3068\u3081\u307e\u3059\u3002<br \/>\n<!--more--><\/p>\n<h2>\u30bd\u30fc\u30c8\u3055\u308c\u3066\u3044\u306a\u3044\u30d5\u30a1\u30a4\u30eb\u3067\u8a66\u3059\uff01<\/h2>\n<p>\u30bd\u30fc\u30c8\u3055\u308c\u3066\u3044\u306a\u3044\u30d5\u30a1\u30a4\u30eb\u3067\u306f\u3001\u91cd\u8907\u3057\u3066\u3044\u308b\u884c\u30921\u884c\u306b\u307e\u3068\u3081\u308b\u3053\u3068\u306f\u3067\u304d\u307e\u305b\u3093\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1,7]; title: ; notranslate\" title=\"\">\r\n$ cat test.txt\r\nserver01\r\nserver02\r\nserver04\r\nserver02\r\nserver03\r\n$ uniq test.txt\r\nserver01\r\nserver02\r\nserver04\r\nserver02\r\nserver03\r\n<\/pre>\n<h2>\u30bd\u30fc\u30c8\u3057\u3066\u91cd\u8907\u3057\u3066\u3044\u308b\u884c\u30921\u884c\u306b\u307e\u3068\u3081\u308b\uff01<\/h2>\n<p>\u4eca\u5ea6\u306f\u3001\u30bd\u30fc\u30c8\u3057\u3066\u91cd\u8907\u3057\u3066\u3044\u308b\u884c\u30921\u884c\u306b\u307e\u3068\u3081\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1,7]; title: ; notranslate\" title=\"\">\r\n$ cat test.txt | sort | uniq\r\nserver01\r\nserver02\r\nserver03\r\nserver04\r\n<\/pre>\n<h2>\u304a\u308f\u308a\u306b<\/h2>\n<p>Linux\u306b\u306f\u3001\u91cd\u8907\u884c\u307e\u3068\u3081\u308b\u30b3\u30de\u30f3\u30c9\u304c\u3042\u308b\u3053\u3068\u3092\u899a\u3048\u3066\u304a\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<h2>\u95a2\u9023\u8a18\u4e8b<\/h2>\n<div class=\"sc_getpost\"><a class=\"clearfix\" href=\"https:\/\/lab4ict.com\/system\/archives\/9227\" ><div class=\"sc_getpost_thumb post-box-thumbnail__wrap\"><img decoding=\"async\" src=\"data:image\/gif;base64,R0lGODdhAQABAPAAAN3d3QAAACwAAAAAAQABAAACAkQBADs=\" width=\"150\" height=\"150\" alt=\"\u3010\u8a18\u4e8b\u4e00\u89a7\u3011Linux\u3067\u30c6\u30ad\u30b9\u30c8\u304a\u3088\u3073\u30d0\u30a4\u30ca\u30ea\u30d5\u30a1\u30a4\u30eb\u3092\u51e6\u7406\u3059\u308b\uff01\" loading=\"lazy\" data-src=\"https:\/\/lab4ict.com\/system\/wp-content\/uploads\/2021\/02\/fi_linux_01-150x150.png\" class=\"lazyload\"><\/div><div class=\"title\">\u3010\u8a18\u4e8b\u4e00\u89a7\u3011Linux\u3067\u30c6\u30ad\u30b9\u30c8\u304a\u3088\u3073\u30d0\u30a4\u30ca\u30ea\u30d5\u30a1\u30a4\u30eb\u3092\u51e6\u7406\u3059\u308b\uff01<\/div><div class=\"substr\">Linux\u3067\u30c6\u30ad\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u304a\u3088\u3073\u30d0\u30a4\u30ca\u30ea\u30d5\u30a1\u30a4\u30eb\u3092\u6271\u3046\u305f\u3081\u306e\u8a18\u4e8b\u4e00\u89a7\u3092\u63b2\u8f09\u3057\u307e\u3059\u3002...<\/div><\/a><\/div>\n<h2>\u95a2\u9023\u66f8\u7c4d\uff08Amazon\uff09<\/h2>\n<p><a href=\"https:\/\/amzn.to\/3H5qkUu\" rel=\"noopener\" target=\"_blank\"><img decoding=\"async\" class=\"paapi5-pa-product-image-source\" src=\"https:\/\/m.media-amazon.com\/images\/I\/51ZPkoBGdZL._SL160_.jpg\" alt=\"N\/A\"><\/a><\/p>\n<hr \/>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Linux\u3067\u91cd\u8907\u3057\u3066\u3044\u308b\u884c\u30921\u884c\u306b\u307e\u3068\u3081\u307e\u3059\u3002<\/p>\n","protected":false},"author":1,"featured_media":5527,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[110],"tags":[282,1087,25,1078,1088],"class_list":["post-8495","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-data-processing","tag-linux","tag-uniq","tag-25","tag-1078","tag-1088"],"_links":{"self":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts\/8495","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/comments?post=8495"}],"version-history":[{"count":1,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts\/8495\/revisions"}],"predecessor-version":[{"id":14922,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts\/8495\/revisions\/14922"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/media\/5527"}],"wp:attachment":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/media?parent=8495"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/categories?post=8495"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/tags?post=8495"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}