{"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhrroct.hatenablog.com%2Fentry%2F2022%2F10%2F12%2F152619\" title=\"WSL2\u4e0a\u3067open\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b - HRR Co., Ltd.\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","url":"https://hrroct.hatenablog.com/entry/2022/10/12/152619","type":"rich","version":"1.0","published":"2022-10-12 15:26:19","blog_url":"https://hrroct.hatenablog.com/","height":"190","width":"100%","categories":["Windows 10","WSL2","Bash"],"image_url":null,"provider_url":"https://hatena.blog","title":"WSL2\u4e0a\u3067open\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b","description":"\u306f\u3058\u3081\u306b WSL2\u4e0a\u3067\u3001\u3044\u308f\u3086\u308bopen\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u307e\u3059\u3002 \u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u6307\u5b9a\u3059\u308c\u3070\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u30a8\u30af\u30b9\u30d7\u30ed\u30fc\u30e9\u30fc\u3067\u958b\u304f\u3001\u30d5\u30a1\u30a4\u30eb\u3092\u6307\u5b9a\u3059\u308c\u3070\u30d5\u30a1\u30a4\u30eb\u3092\u958b\u304f\u3001\u305d\u3093\u306a\u52d5\u304d\u3092\u3057\u307e\u3059\u3002 open\u30b3\u30de\u30f3\u30c9\u5b9f\u88c5\u307e\u3067 1. cmd.exe \u3078\u306e\u30d1\u30b9\u3092\u901a\u3059 vi ~/.profile # path to Windows export PATH=$PATH:/mnt/c/Windows/System32 \u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306fcmd.exe\u306f\u5b9f\u884c\u3067\u304d\u306a\u3044\uff08\u30d1\u30b9\u304c\u901a\u3063\u3066\u3044\u306a\u3044\uff09\u3068\u601d\u3046\u306e \u3067\u3001.profile\u306b\u66f8\u304d\u8fbc\u3080\u3053\u3068\u3067\u30d1\u30b9\u3092\u901a\u3057\u307e\u3059\u3002 \u8ffd\u8a18\u3057\u305f\u3089\u3001\u518d\u8aad\u307f\u8fbc\u307f\u3092\u5fd8\u308c\u305a\u306b\u3002 source ~/.prof\u2026","author_url":"https://blog.hatena.ne.jp/hrroct/","blog_title":"HRR Co., Ltd.","provider_name":"Hatena Blog","author_name":"hrroct"}