{"id":8585,"date":"2023-01-30T20:32:31","date_gmt":"2023-01-30T11:32:31","guid":{"rendered":"https:\/\/lab4ict.com\/system\/?p=8585"},"modified":"2023-09-08T06:34:38","modified_gmt":"2023-09-07T21:34:38","slug":"linux%e3%81%a7%e3%83%86%e3%82%ad%e3%82%b9%e3%83%88%e3%83%95%e3%82%a1%e3%82%a4%e3%83%ab%e3%81%ae%e5%85%88%e9%a0%ad%e3%81%82%e3%82%8b%e3%81%84%e3%81%af%e6%9c%ab%e5%b0%be%e3%82%92%e8%a1%a8%e7%a4%ba","status":"publish","type":"post","link":"https:\/\/lab4ict.com\/system\/archives\/8585","title":{"rendered":"Linux\u3067\u30c6\u30ad\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u306e\u5148\u982d\u3042\u308b\u3044\u306f\u672b\u5c3e\u3092\u8868\u793a\u3059\u308b\uff01\uff08head\uff0ftail\uff09"},"content":{"rendered":"<p>Linux\u3067\u30c6\u30ad\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u306e\u5148\u982d\u3042\u308b\u3044\u306f\u672b\u5c3e\u3092\u8868\u793a\u3057\u307e\u3059\u3002<br \/>\n<!--more--><\/p>\n<h2>\u30c6\u30ad\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u306e\u5148\u982d\u3092\u8868\u793a\u3059\u308b\uff01\uff08head\uff09<\/h2>\n<p>\u30c6\u30ad\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u306e\u5148\u982d\u3092\u8868\u793a\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1]; title: ; notranslate\" title=\"\">\r\n$ head \/etc\/group\r\nroot:x:0:\r\nbin:x:1:\r\ndaemon:x:2:\r\nsys:x:3:\r\nadm:x:4:\r\ntty:x:5:\r\ndisk:x:6:\r\nlp:x:7:\r\nmem:x:8:\r\nkmem:x:9:\r\n<\/pre>\n<p>\u8868\u793a\u3059\u308b\u884c\u6570\u3092\u6307\u5b9a\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1]; title: ; notranslate\" title=\"\">\r\n$ head -n 1 \/etc\/group\r\nroot:x:0:\r\n<\/pre>\n<p>\u5148\u982d\u304b\u3089\u306e\u6587\u5b57\u6570\u3092\u6307\u5b9a\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002\u6539\u884c\u6587\u5b57\u304c\u81ea\u52d5\u3067\u3064\u304b\u306a\u3044\u3053\u3068\u306b\u6ce8\u610f\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1]; title: ; notranslate\" title=\"\">\r\n$ head -c 4 \/etc\/group\r\nroot$\r\n<\/pre>\n<h2>\u30c6\u30ad\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u306e\u672b\u5c3e\u3092\u8868\u793a\u3059\u308b\uff01\uff08tail\uff09<\/h2>\n<p>\u30c6\u30ad\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u306e\u672b\u5c3e\u3092\u8868\u793a\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1]; title: ; notranslate\" title=\"\">\r\n$ tail \/etc\/group\r\nusrdev02:x:3002:\r\ntomcat:x:91:tomcat\r\npostdrop:x:90:\r\npostfix:x:89:\r\nforeman:x:974:\r\napache:x:48:\r\npostgres:x:26:\r\nforeman-proxy:x:973:\r\npulp:x:972:\r\nredis:x:971:\r\n<\/pre>\n<p>\u8868\u793a\u3059\u308b\u884c\u6570\u3092\u6307\u5b9a\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1]; title: ; notranslate\" title=\"\">\r\n$ tail -n 1 \/etc\/group\r\nredis:x:971:\r\n<\/pre>\n<p>\u6587\u672b\u304b\u3089\u306e\u6587\u5b57\u6570\u3092\u6307\u5b9a\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002\u6539\u884c\u6587\u5b57\u3082\u6587\u5b57\u6570\u306b\u30ab\u30a6\u30f3\u30c8\u3055\u308c\u308b\u3053\u3068\u306b\u6ce8\u610f\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1]; title: ; notranslate\" title=\"\">\r\n$ tail -c 4 \/etc\/group\r\n71:\r\n<\/pre>\n<h2>\u30c6\u30ad\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u306b\u8ffd\u52a0\u3055\u308c\u308b\u5185\u5bb9\u3092\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u3067\u8868\u793a\u3059\u308b\uff01\uff08tail -f\uff09<\/h2>\n<p>tail\u30b3\u30de\u30f3\u30c9\u306f\u3001\u30ed\u30b0\u30d5\u30a1\u30a4\u30eb\u306e\u78ba\u8a8d\u3067\u975e\u5e38\u306b\u3088\u304f\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1]; title: ; notranslate\" title=\"\">\r\n$ sudo tail -f \/var\/log\/messages\r\n$ sudo tail -f \/var\/log\/messages\r\nJan 30 20:30:22 vmsrhe05 systemd&#x5B;1]: Started User Manager for UID 1000.\r\nJan 30 20:30:23 vmsrhe05 systemd&#x5B;6337]: Started D-Bus User Message Bus.\r\nJan 30 20:30:23 vmsrhe05 dbus-daemon&#x5B;6406]: &#x5B;session uid=1000 pid=6406] Activating via systemd: service name='org.gtk.vfs.Daemon' unit='gvfs-daemon.service' requested by ':1.1' (uid=1000 pid=6403 comm=&quot;flatpak --installations &quot; label=&quot;unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023&quot;)\r\nJan 30 20:30:23 vmsrhe05 systemd&#x5B;6337]: Starting Virtual filesystem service...\r\nJan 30 20:30:23 vmsrhe05 dbus-daemon&#x5B;6406]: &#x5B;session uid=1000 pid=6406] Successfully activated service 'org.gtk.vfs.Daemon'\r\nJan 30 20:30:23 vmsrhe05 systemd&#x5B;6337]: Started Virtual filesystem service.\r\nJan 30 20:30:23 vmsrhe05 dbus-daemon&#x5B;847]: &#x5B;system] Activating via systemd: service name='org.bluez' unit='dbus-org.bluez.service' requested by ':1.226' (uid=1000 pid=6356 comm=&quot;\/usr\/bin\/pulseaudio --daemonize=no --log-target=jo&quot; label=&quot;unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023&quot;)\r\nJan 30 20:30:23 vmsrhe05 systemd&#x5B;6337]: Started Sound Service.\r\nJan 30 20:30:23 vmsrhe05 systemd&#x5B;6337]: Reached target Default.\r\nJan 30 20:30:23 vmsrhe05 systemd&#x5B;6337]: Startup finished in 1.357s.\r\n<\/pre>\n<h2>\u304a\u308f\u308a\u306b<\/h2>\n<p>head\u3084tail\u306f\u3001\u30c7\u30fc\u30bf\u30d5\u30a1\u30a4\u30eb\u3084\u30ed\u30b0\u30d5\u30a1\u30a4\u30eb\u306e\u78ba\u8a8d\u3067\u3001\u983b\u7e41\u306b\u4f7f\u7528\u3055\u308c\u308b\u4fbf\u5229\u306a\u30b3\u30de\u30f3\u30c9\u3067\u3059\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\u30c6\u30ad\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u306e\u5148\u982d\u3042\u308b\u3044\u306f\u672b\u5c3e\u3092\u8868\u793a\u3057\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":[1080,282,1081,25,1078,1082,1083,491],"class_list":["post-8585","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-data-processing","tag-head","tag-linux","tag-tail","tag-25","tag-1078","tag-1082","tag-1083","tag-491"],"_links":{"self":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts\/8585","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=8585"}],"version-history":[{"count":2,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts\/8585\/revisions"}],"predecessor-version":[{"id":14918,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts\/8585\/revisions\/14918"}],"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=8585"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/categories?post=8585"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/tags?post=8585"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}