17
24

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 5 years have passed since last update.

.bash_profileや.bashrcの変更が反映されない問題を解決する

Last updated at Posted at 2018-01-26

.bash_profile / .bashrc とは

.bash_profile
ログインしたときに読み込まれる設定ファイル

.bashrc
bashを起動したときに読み込まれる設定ファイル

前提

.bash_profileや.bashrcのファイル内を変更済。

原因

変更内容が反映されていない(PATHが通っていない)為。

解決方法

.bash_profileや.bashrcの変更を反映する(PATHを通す)為、下記コマンドを実行。

terminal
$ source ~/.bash_profile
$ source ~/.bashrc

忘れがちなので気をつけましょう。

以上

17
24
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
17
24

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?