{"id":2089,"date":"2022-12-27T20:17:00","date_gmt":"2022-12-27T11:17:00","guid":{"rendered":""},"modified":"2023-06-18T21:23:06","modified_gmt":"2023-06-18T12:23:06","slug":"unix_27","status":"publish","type":"post","link":"http:\/\/www.tyosuke20xx.com\/blog\/?p=2089","title":{"rendered":"UNIX \u30d1\u30a4\u30d7"},"content":{"rendered":"<p>dotinstall:~ $ ls -l \/etc\/<br \/>\ntotal 208<br \/>\n-rw-r&#8211;r&#8211;    1 root     root             7 May 29  2020 alpine-release<br \/>\ndrwxr-xr-x    1 root     root          4096 Sep 23  2020 apk<br \/>\ndrwxr-xr-x    3 root     root          4096 Sep 23  2020 ca-certificates<br \/>\n-rw-r&#8211;r&#8211;    1 root     root          5613 Jun 18  2020 ca-certificates.conf<br \/>\ndrwxr-xr-x    2 root     root          4096 May 29  2020 conf.d<br \/>\ndrwxr-xr-x    2 root     root          4096 May 29  2020 crontabs<br \/>\n-rw-r&#8211;r&#8211;    1 root     root            89 May 29  2020 fstab<br \/>\n-rw-r&#8211;r&#8211;    1 root     root           693 Sep 23  2020 group<br \/>\n-rw-r&#8211;r&#8211;    1 root     root           682 May 29  2020 group-<br \/>\n-rw-r&#8211;r&#8211;    1 root     root            13 Dec 27 18:11 hostname<br \/>\n-rw-r&#8211;r&#8211;    1 root     root           178 Dec 27 18:11 hosts<br \/>\ndrwxr-xr-x    2 root     root          4096 May 29  2020 init.d<br \/>\n-rw-r&#8211;r&#8211;    1 root     root           570 May 29  2020 inittab<br \/>\n-rw-r&#8211;r&#8211;    1 root     root          1748 Feb  9  2020 inputrc<br \/>\n-rw-r&#8211;r&#8211;    1 root     root            54 May 29  2020 issue<br \/>\n-rw-r&#8211;r&#8211;    1 root     root           309 Aug  9  2020 localtime<br \/>\ndrwxr-xr-x    2 root     root          4096 May 29  2020 logrotate.d<br \/>\ndrwxr-xr-x    2 root     root          4096 May 29  2020 modprobe.d<br \/>\n-rw-r&#8211;r&#8211;    1 root     root            15 May 29  2020 modules<br \/>\ndrwxr-xr-x    2 root     root          4096 May 29  2020 modules-load.d<br \/>\n-rw-r&#8211;r&#8211;    1 root     root           283 May 29  2020 motd<br \/>\nlrwxrwxrwx    1 root     root            12 Dec 27 18:11 mtab -> \/proc\/mounts<br \/>\ndrwxr-xr-x    8 root     root          4096 May 29  2020 network<br \/>\ndrwxr-xr-x    2 root     root          4096 May 29  2020 opt<br \/>\n-rw-r&#8211;r&#8211;    1 root     root           164 May 29  2020 os-release<br \/>\n-rw-r&#8211;r&#8211;    1 root     root          1233 Sep 23  2020 passwd<br \/>\n-rw-r&#8211;r&#8211;    1 root     root          1172 May 29  2020 passwd-<br \/>\ndrwxr-xr-x    7 root     root          4096 May 29  2020 periodic<br \/>\n-rw-r&#8211;r&#8211;    1 root     root           238 May 29  2020 profile<br \/>\ndrwxr-xr-x    1 root     root          4096 Sep 23  2020 profile.d<br \/>\n-rw-r&#8211;r&#8211;    1 root     root          1865 May 29  2020 protocols<br \/>\n-rw-r&#8211;r&#8211;    1 root     root            54 Dec 27 18:11 resolv.conf<br \/>\n-rw-r&#8211;r&#8211;    1 root     root            65 May 22  2020 securetty<br \/>\n-rw-r&#8211;r&#8211;    1 root     root         14464 May 29  2020 services<br \/>\n-rw-r&#8212;&#8211;    1 root     shadow         454 Sep 23  2020 shadow<br \/>\n-rw-r&#8212;&#8211;    1 root     shadow         422 May 29  2020 shadow-<br \/>\n-rw-r&#8211;r&#8211;    1 root     root            48 Sep 23  2020 shells<br \/>\ndrwxr-xr-x    1 root     root          4096 May 29  2020 ssl<br \/>\n-rw-r&#8211;r&#8211;    1 root     root          3941 May 25  2020 sudo.conf<br \/>\n-rw-r&#8211;r&#8211;    1 root     root          6169 May 25  2020 sudo_logsrvd.conf<br \/>\n-rw-r&#8211;r&#8211;    1 root     root          3228 Sep 23  2020 sudoers<br \/>\ndrwxr-x&#8212;    2 root     root          4096 Sep 23  2020 sudoers.d<br \/>\n-r&#8211;r&#8212;&#8211;    1 root     root          3174 May 25  2020 sudoers.dist<br \/>\n-rw-r&#8211;r&#8211;    1 root     root            53 May 29  2020 sysctl.conf<br \/>\ndrwxr-xr-x    2 root     root          4096 May 29  2020 sysctl.d<br \/>\ndrwxr-xr-x   13 root     root          4096 Sep 23  2020 terminfo<br \/>\n-rw-r&#8211;r&#8211;    1 root     root          5306 May 22  2020 udhcpd.conf<br \/>\ndotinstall:~ $ ls -l \/etc\/ | grep &#8216;sudo&#8217;<br \/>\n-rw-r&#8211;r&#8211;    1 root     root          3941 May 25  2020 sudo.conf<br \/>\n-rw-r&#8211;r&#8211;    1 root     root          6169 May 25  2020 sudo_logsrvd.conf<br \/>\n-rw-r&#8211;r&#8211;    1 root     root          3228 Sep 23  2020 sudoers<br \/>\ndrwxr-x&#8212;    2 root     root          4096 Sep 23  2020 sudoers.d<br \/>\n-r&#8211;r&#8212;&#8211;    1 root     root          3174 May 25  2020 sudoers.dist<br \/>\ndotinstall:~ $ ls -l \/etc\/ | grep &#8216;sudo&#8217; | wc -l<br \/>\n5<br \/>\ndotinstall:~ $ ls -l \/etc\/ | grep &#8216;sudo&#8217; | wc -l > results.txt<br \/>\ndotinstall:~ $ cat results.txt<br \/>\n5<br \/>\ndotinstall:~ $ rm results.txt<br \/>\ndotinstall:~ $<\/p>\n","protected":false},"excerpt":{"rendered":"<p>dotinstall:~ $ ls -l \/etc\/ total 208 -rw-r&#8211;r&#8211; 1 root root 7 May 29 2020 alpine-release drwxr-xr-x  &hellip; <a href=\"http:\/\/www.tyosuke20xx.com\/blog\/?p=2089\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;UNIX \u30d1\u30a4\u30d7&#8221; \u306e<\/span>\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"categories":[1],"tags":[43],"class_list":["post-2089","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-unix"],"aioseo_notices":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"http:\/\/www.tyosuke20xx.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2089","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.tyosuke20xx.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.tyosuke20xx.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.tyosuke20xx.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.tyosuke20xx.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2089"}],"version-history":[{"count":0,"href":"http:\/\/www.tyosuke20xx.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2089\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.tyosuke20xx.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2089"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.tyosuke20xx.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2089"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.tyosuke20xx.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2089"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}