{"id":663,"date":"2026-08-10T19:54:16","date_gmt":"2026-08-10T10:54:16","guid":{"rendered":"https:\/\/www.marchboy.xyz\/wordpress\/archives\/663"},"modified":"2026-08-10T19:54:16","modified_gmt":"2026-08-10T10:54:16","slug":"cat%e3%82%b3%e3%83%9e%e3%83%b3%e3%83%89%e3%81%a8%e3%81%af%ef%bc%9f","status":"publish","type":"post","link":"https:\/\/www.marchboy.xyz\/wordpress\/archives\/663","title":{"rendered":"cat\u30b3\u30de\u30f3\u30c9\u3068\u306f\uff1f"},"content":{"rendered":"<h2>cat\u30b3\u30de\u30f3\u30c9\u306e\u57fa\u672c<\/h2>\n<p><strong>cat<\/strong>\u306fLinux\u3084Unix\u7cfbOS\u3067\u4f7f\u7528\u3055\u308c\u308b\u30c6\u30ad\u30b9\u30c8\u7d50\u5408\u30fb\u8868\u793a\u30b3\u30de\u30f3\u30c9\u3067\u3059\u3002\u4e3b\u306b\u30d5\u30a1\u30a4\u30eb\u306e\u5185\u5bb9\u3092\u6a19\u6e96\u51fa\u529b\u306b\u51fa\u529b\u3057\u305f\u308a\u3001\u8907\u6570\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u9023\u7d50\u3057\u3066\u65b0\u3057\u3044\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u305f\u308a\u3057\u307e\u3059\u3002<\/p>\n<h2>\u4e3b\u306a\u4f7f\u3044\u65b9<\/h2>\n<ul>\n<li><strong>\u30d5\u30a1\u30a4\u30eb\u306e\u4e2d\u8eab\u3092\u8868\u793a<\/strong>\n<p>\u5358\u4e00\u30d5\u30a1\u30a4\u30eb\u306e\u5185\u5bb9\u3092\u7aef\u672b\u306b\u8868\u793a\u3057\u307e\u3059\u3002<\/p>\n<pre><code>cat filename.txt<\/code><\/pre>\n<\/li>\n<li><strong>\u8907\u6570\u30d5\u30a1\u30a4\u30eb\u3092\u7d50\u5408\u3057\u3066\u8868\u793a<\/strong>\n<p>\u8907\u6570\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u9806\u756a\u306b\u7d50\u5408\u3057\u3001\u6a19\u6e96\u51fa\u529b\u306b\u51fa\u529b\u3057\u307e\u3059\u3002<\/p>\n<pre><code>cat file1.txt file2.txt<\/code><\/pre>\n<\/li>\n<li><strong>\u30d5\u30a1\u30a4\u30eb\u3092\u65b0\u898f\u4f5c\u6210\u307e\u305f\u306f\u4e0a\u66f8\u304d<\/strong>\n<p>\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\uff08&gt;\uff09\u3092\u4f7f\u3063\u3066\u3001\u7d50\u5408\u3057\u305f\u5185\u5bb9\u3092\u65b0\u3057\u3044\u30d5\u30a1\u30a4\u30eb\u306b\u66f8\u304d\u8fbc\u3081\u307e\u3059\u3002<\/p>\n<pre><code>cat file1.txt file2.txt &gt; combined.txt<\/code><\/pre>\n<\/li>\n<li><strong>\u65e2\u5b58\u30d5\u30a1\u30a4\u30eb\u306b\u8ffd\u8a18<\/strong>\n<p>\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\uff08&gt;&gt;\uff09\u3067\u65e2\u5b58\u30d5\u30a1\u30a4\u30eb\u306e\u672b\u5c3e\u306b\u5185\u5bb9\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n<pre><code>cat additional.txt &gt;&gt; combined.txt<\/code><\/pre>\n<\/li>\n<\/ul>\n<h2>\u4fbf\u5229\u306a\u30aa\u30d7\u30b7\u30e7\u30f3<\/h2>\n<ul>\n<li><strong>-n<\/strong> : \u884c\u756a\u53f7\u3092\u4ed8\u4e0e\u3057\u3066\u51fa\u529b\u3057\u307e\u3059\u3002\n<pre><code>cat -n file.txt<\/code><\/pre>\n<\/li>\n<li><strong>-b<\/strong> : \u7a7a\u884c\u3092\u9664\u5916\u3057\u3001\u975e\u7a7a\u884c\u306b\u306e\u307f\u756a\u53f7\u3092\u4ed8\u4e0e\u3057\u307e\u3059\u3002\n<pre><code>cat -b file.txt<\/code><\/pre>\n<\/li>\n<li><strong>-s<\/strong> : \u9023\u7d9a\u3057\u305f\u7a7a\u884c\u30921\u884c\u306b\u307e\u3068\u3081\u307e\u3059\u3002\n<pre><code>cat -s file.txt<\/code><\/pre>\n<\/li>\n<\/ul>\n<h2>\u6ce8\u610f\u70b9<\/h2>\n<p>cat\u306f\u30d0\u30a4\u30ca\u30ea\u30d5\u30a1\u30a4\u30eb\u306b\u3082\u9069\u7528\u3067\u304d\u307e\u3059\u304c\u3001\u753b\u9762\u306b\u8868\u793a\u3059\u308b\u3068\u6587\u5b57\u5316\u3051\u3084\u7aef\u672b\u304c\u56fa\u307e\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002\u30d0\u30a4\u30ca\u30ea\u30c7\u30fc\u30bf\u306e\u7d50\u5408\u3060\u3051\u304c\u76ee\u7684\u306e\u5834\u5408\u306f\u3001\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u3060\u3051\u3067\u4f7f\u7528\u3059\u308b\u3068\u5b89\u5168\u3067\u3059\u3002<\/p>\n<h2>\u307e\u3068\u3081<\/h2>\n<p>cat\u30b3\u30de\u30f3\u30c9\u306f\u30b7\u30f3\u30d7\u30eb\u306a\u304c\u3089\u3001\u30d5\u30a1\u30a4\u30eb\u306e\u95b2\u89a7\u3001\u7d50\u5408\u3001\u30b3\u30d4\u30fc\u3068\u3044\u3063\u305f\u57fa\u672c\u64cd\u4f5c\u3092\u9ad8\u901f\u306b\u884c\u3048\u308b\u975e\u5e38\u306b\u4fbf\u5229\u306a\u30c4\u30fc\u30eb\u3067\u3059\u3002<strong>-n<\/strong>\u3084<strong>-s<\/strong>\u3068\u3044\u3063\u305f\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u7d44\u307f\u5408\u308f\u305b\u308b\u3053\u3068\u3067\u3001\u3055\u3089\u306b\u67d4\u8edf\u306b\u5229\u7528\u3067\u304d\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>cat\u30b3\u30de\u30f3\u30c9\u306e\u57fa\u672c cat\u306fLinux\u3084Unix\u7cfbOS\u3067\u4f7f\u7528\u3055\u308c\u308b\u30c6\u30ad\u30b9\u30c8\u7d50\u5408\u30fb\u8868\u793a\u30b3\u30de\u30f3\u30c9\u3067\u3059\u3002\u4e3b\u306b\u30d5\u30a1\u30a4\u30eb\u306e\u5185\u5bb9\u3092\u6a19\u6e96\u51fa\u529b\u306b\u51fa\u529b\u3057\u305f\u308a\u3001\u8907\u6570\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u9023\u7d50\u3057\u3066\u65b0\u3057\u3044\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u305f\u308a\u3057\u307e\u3059\u3002 \u4e3b\u306a\u4f7f\u3044\u65b9 \u30d5\u30a1\u30a4 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15],"tags":[],"class_list":["post-663","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/www.marchboy.xyz\/wordpress\/wp-json\/wp\/v2\/posts\/663","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.marchboy.xyz\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.marchboy.xyz\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.marchboy.xyz\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.marchboy.xyz\/wordpress\/wp-json\/wp\/v2\/comments?post=663"}],"version-history":[{"count":0,"href":"https:\/\/www.marchboy.xyz\/wordpress\/wp-json\/wp\/v2\/posts\/663\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.marchboy.xyz\/wordpress\/wp-json\/wp\/v2\/media?parent=663"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.marchboy.xyz\/wordpress\/wp-json\/wp\/v2\/categories?post=663"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.marchboy.xyz\/wordpress\/wp-json\/wp\/v2\/tags?post=663"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}