{"id":8264,"date":"2023-09-11T21:18:35","date_gmt":"2023-09-11T12:18:35","guid":{"rendered":"http:\/\/www.tyosuke20xx.com\/blog\/?p=8264"},"modified":"2023-09-11T21:18:37","modified_gmt":"2023-09-11T12:18:37","slug":"unix-%e3%82%b3%e3%83%9e%e3%83%b3%e3%83%89-5","status":"publish","type":"post","link":"http:\/\/www.tyosuke20xx.com\/blog\/?p=8264","title":{"rendered":"UNIX \u30b3\u30de\u30f3\u30c9"},"content":{"rendered":"\n<p>dotinstall:~ $ ls -l<br>total 4<br>-rwxr&#8211;r&#8211; 1 dotinsta wheel 30 Sep 11 19:20 hello<br>dotinstall:~ $ echo $PATH<br>\/usr\/lib\/node_modules\/npm\/node_modules\/npm-lifecycle\/node-gyp-bin:\/node_modules\/.bin:\/usr\/local\/sbin:\/usr\/local\/bin:\/usr\/sbin:\/usr\/bin:\/sbin:\/bin<br>dotinstall:~ $ export PATH=\/home\/dotinstall:$PATH<br>dotinstall:~ $ echo $PATH<br>\/home\/dotinstall:\/usr\/lib\/node_modules\/npm\/node_modules\/npm-lifecycle\/node-gyp-bin:\/node_modules\/.bin:\/usr\/local\/sbin:\/usr\/local\/bin:\/usr\/sbin:\/usr\/bin:\/sbin:\/bin<br>dotinstall:~ $ hello<br>bash: \/home\/dotinstall\/hello: bin\/ash: bad interpreter: No such file or directory<br>dotinstall:~ $ hallo<br>bash: hallo: command not found<br>dotinstall:~ $ cd ..<br>dotinstall:\/home $ which hello<br>\/home\/dotinstall\/hello<br>dotinstall:\/home $ $PATH<br>bash: \/home\/dotinstall:\/usr\/lib\/node_modules\/npm\/node_modules\/npm-lifecycle\/node-gyp-bin:\/node_modules\/.bin:\/usr\/local\/sbin:\/usr\/local\/bin:\/usr\/sbin:\/usr\/bin:\/sbin:\/bin: No such file or directory<br>dotinstall:\/home $ cd<br>dotinstall:~ $ rm hello<br>dotinstall:~ $<\/p>\n","protected":false},"excerpt":{"rendered":"<p>dotinstall:~ $ ls -ltotal 4-rwxr&#8211;r&#8211; 1 dotinsta wheel 30 Sep 11 19:20 hellodotinstall:~ $ echo $PAT &hellip; <a href=\"http:\/\/www.tyosuke20xx.com\/blog\/?p=8264\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;UNIX \u30b3\u30de\u30f3\u30c9&#8221; \u306e<\/span>\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":1,"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":[71],"tags":[3],"class_list":["post-8264","post","type-post","status-publish","format-standard","hentry","category-unix","tag-programming"],"aioseo_notices":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"http:\/\/www.tyosuke20xx.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/8264","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\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.tyosuke20xx.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=8264"}],"version-history":[{"count":1,"href":"http:\/\/www.tyosuke20xx.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/8264\/revisions"}],"predecessor-version":[{"id":8265,"href":"http:\/\/www.tyosuke20xx.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/8264\/revisions\/8265"}],"wp:attachment":[{"href":"http:\/\/www.tyosuke20xx.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=8264"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.tyosuke20xx.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=8264"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.tyosuke20xx.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=8264"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}