0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

WSL2 Ubuntu再起動時にPathを通しておく

Posted at

#問題
WSL2で動いているUbuntu 20.04 LTSについて、
Ubuntuのウィンドウを閉じると、起動時に通しておいたPathが消えてしまう。

#解決策
ホームディレクトリにある.bashrcに以下のように書き加える。

.bashrc
export PATH={フルパス}:$PATH

.bashrcとは起動時に読み込まれる設定ファイルである
参考:「分かりそう」で「分からない」でも「分かった」気になれるIT用語辞典

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?