{"id":9870,"date":"2019-01-26T14:47:31","date_gmt":"2019-01-26T05:47:31","guid":{"rendered":"https:\/\/www.itblog.jp\/?p=9870"},"modified":"2019-02-12T19:50:39","modified_gmt":"2019-02-12T10:50:39","slug":"%e3%83%91%e3%82%b9path%e3%82%92%e9%80%9a%e3%81%99%e3%81%ae%e6%84%8f%e5%91%b3","status":"publish","type":"post","link":"https:\/\/www.itblog.jp\/?p=9870","title":{"rendered":"\u30d1\u30b9(PATH)\u3092\u901a\u3059\u306e\u610f\u5473"},"content":{"rendered":"<p>\u30b5\u30fc\u30d0\u3067\u3044\u308d\u3044\u308d\u8a2d\u5b9a\u3092\u3057\u3066\u3044\u308b\u3068\u3001\u30d1\u30b9\u3092\u901a\u3059\u3068\u3044\u3046\u8a00\u8449\u304c\u3001\u3068\u304d\u3069\u304d\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u3001\u30d1\u30b9\u3092\u901a\u3059\u3068\u3044\u3046\u306e\u304c\u3069\u3046\u3044\u3046\u610f\u5473\u306b\u3064\u3044\u3066\u306a\u306e\u3067\u3059\u304c\u3001\u30b5\u30fc\u30d0\u3084\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u3067\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u969b\u306b\u3001\u305d\u306e\u30b3\u30de\u30f3\u30c9\u306e\u5b9f\u884c\u30d5\u30a1\u30a4\u30eb\u304c\u3069\u3053\u306b\u3042\u308b\u304b\u3068\u3044\u3046\u3053\u3068\u3067\u3059\u3002<\/p>\n<p>\u30e6\u30fc\u30b6\u306f\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u3067\u69d8\u3005\u306a\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u3044\u307e\u3059\u304c\u3001\u305d\u308c\u306f\u3001\u7d50\u5c40\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u3084\u305d\u306e\u30b5\u30fc\u30d0\u306e\u4e2d\u3067\u3001\u305d\u306e\u30b3\u30de\u30f3\u30c9\u306b\u5bfe\u5fdc\u3059\u308b\u5b9f\u884c\u30d5\u30a1\u30a4\u30eb\u304c\u3069\u3053\u304b\u306b\u3042\u308b\u306e\u3067\u3059\u3002<\/p>\n<p>linux\u7cfb\u306e\u30b5\u30fc\u30d0\u3084\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u3067\u3042\u308c\u3070<\/p>\n<p>\/bin\/<br \/>\n\/sbin\/<\/p>\n<p>\u3068\u3044\u3063\u305f\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u4ee5\u4e0b\u306b\u3001\u305d\u308c\u3089\u306e\u5b9f\u884c\u30d5\u30a1\u30a4\u30eb\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u305d\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u958b\u3044\u3066\u307f\u308b\u3068\u3001\u591a\u304f\u306e\u5b9f\u884c\u30d5\u30a1\u30a4\u30eb\u304c\u3042\u308a\u3001\u6163\u308c\u89aa\u3057\u3093\u3060 ls \u3084 cd \u3068\u3044\u3063\u305f\u5b9f\u884c\u30d5\u30a1\u30a4\u30eb\u3082\u5b58\u5728\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u3053\u308c\u306f\u3001linux\u7cfb\u3067\u3042\u308c\u3070\u3001\/bin\/\u3084\/sbin\/\u306f\u3001\u306f\u3058\u3081\u304b\u3089\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u308b\u306e\u3067\u305d\u306e\u5834\u6240\u306f\u308f\u304b\u308a\u3001\u307e\u305f\u3001bash_profile\u3067\u306f<\/p>\n<p>\/usr\/bin\/<br \/>\n\/usr\/sbin\/<\/p>\n<p>\u3068\u3044\u3063\u305f\u5834\u6240\u306b\u306f\u306f\u3058\u3081\u304b\u3089\u30d1\u30b9\u304c\u901a\u3057\u3066\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u3067\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u305f\u969b\u306b\u3001\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u306f\u3001\u305d\u306e\u30d1\u30b9\u304c\u901a\u3063\u3066\u3044\u308b\u5834\u6240\u4ee5\u4e0b\u306e\u3001\u30b3\u30de\u30f3\u30c9\u306b\u8a72\u5f53\u3059\u308b\u5b9f\u884c\u30d5\u30a1\u30a4\u30eb\u3092\u63a2\u3057\u3066\u3044\u308b\u308f\u3051\u3067\u3059\u3002<\/p>\n<p>\u3082\u3057\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u5168\u4f53\u304b\u3089\u5b9f\u884c\u30d5\u30a1\u30a4\u30eb\u3092\u63a2\u305d\u3046\u3068\u3059\u308b\u3068\u3001\u81a8\u5927\u306a\u6642\u9593\u304c\u304b\u304b\u3063\u3066\u3044\u308b\u305f\u3081\u3001\u30d1\u30b9\u3092\u901a\u3059\u3053\u3068\u3067\u5b9f\u884c\u30d5\u30a1\u30a4\u30eb\u306e\u5834\u6240\u3092\u7d5e\u3063\u3066\u3044\u308b\u308f\u3051\u3067\u3059\u3002<\/p>\n<p>\u7279\u5b9a\u306e\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u5834\u5408\u3001\u305d\u306e\u30bd\u30d5\u30c8\u306b\u5bfe\u5fdc\u3059\u308b\u30b3\u30de\u30f3\u30c9\u304c\u5229\u7528\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u304c\u3001\u30bd\u30d5\u30c8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u3060\u3051\u3067\u306f\u3001\u30b3\u30de\u30f3\u30c9\u306e\u30d1\u30b9\u304c\u901a\u3063\u3066\u3044\u306a\u3044\u305f\u3081\u3001\u5b9f\u884c\u304c\u3067\u304d\u306a\u3044\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u3053\u308c\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b\u305f\u3081\u306b\u30d1\u30b9\u3092\u901a\u3059\u5fc5\u8981\u304c\u3042\u308b\u306e\u3067\u3059\u3002<\/p>\n<p>\u30d1\u30b9\u3092\u8ffd\u52a0\u3059\u308b\u3053\u3068\u3067\u3001\u30d1\u30b9\u304c\u901a\u3055\u308c\u305f\u4ee5\u4e0b\u306b\u3042\u308b\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u5b9f\u884c\u30d5\u30a1\u30a4\u30eb\u304c\u306a\u3044\u304b\u3069\u3046\u304b\u3092\u691c\u7d22\u5bfe\u8c61\u306b\u8ffd\u52a0\u3055\u308c\u307e\u3059\u3002<\/p>\n<h2>\u30d1\u30b9\u306e\u5909\u66f4\u306e\u4ed5\u65b9<\/h2>\n<p>.bash_profile\u3092\u7de8\u96c6\u3057\u307e\u3059\u3002<\/p>\n<p>.bash_profile\u306f\u3001\u30db\u30fc\u30e0\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u3042\u308a\u307e\u3059\u3002<br \/>\n\u306a\u3044\u5834\u5408\u306f\u4f5c\u6210\u3059\u308b\u3068\u3088\u3044\u3067\u3059\u3002<\/p>\n<p>\u7de8\u96c6\u5f8c\u3001<\/p>\n<p>source ~\/.bash_profile<\/p>\n<p>\u3067\u53cd\u6620\u3055\u308c\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u30b5\u30fc\u30d0\u3067\u3044\u308d\u3044\u308d\u8a2d\u5b9a\u3092\u3057\u3066\u3044\u308b\u3068\u3001\u30d1\u30b9\u3092\u901a\u3059\u3068\u3044\u3046\u8a00\u8449\u304c\u3001\u3068\u304d\u3069\u304d\u3042\u308a\u307e\u3059\u3002 \u3053\u306e\u3001\u30d1\u30b9\u3092\u901a\u3059\u3068\u3044\u3046\u306e\u304c\u3069\u3046\u3044\u3046\u610f\u5473\u306b\u3064\u3044\u3066\u306a\u306e\u3067\u3059\u304c\u3001\u30b5\u30fc\u30d0\u3084\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u3067\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u969b\u306b\u3001\u305d\u306e\u30b3\u30de\u30f3\u30c9\u306e\u5b9f\u884c\u30d5\u30a1\u30a4\u30eb\u304c\u3069\u3053\u306b\u3042\u308b [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[147,131],"tags":[],"class_list":["post-9870","post","type-post","status-publish","format-standard","hentry","category-linux","category-131"],"_links":{"self":[{"href":"https:\/\/www.itblog.jp\/index.php?rest_route=\/wp\/v2\/posts\/9870","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.itblog.jp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.itblog.jp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.itblog.jp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.itblog.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=9870"}],"version-history":[{"count":1,"href":"https:\/\/www.itblog.jp\/index.php?rest_route=\/wp\/v2\/posts\/9870\/revisions"}],"predecessor-version":[{"id":9891,"href":"https:\/\/www.itblog.jp\/index.php?rest_route=\/wp\/v2\/posts\/9870\/revisions\/9891"}],"wp:attachment":[{"href":"https:\/\/www.itblog.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=9870"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.itblog.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=9870"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.itblog.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=9870"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}