Linux .bashrc系統未啟動
2019, Jan 21
開啟linux 無法使用ll 路徑無顏色 更改使用者造成
使用
source ~/.bashrc
Ubuntu 讀取 .bashrc 和 .bash_profile 檔案的時機
bash_profile
是要透過登入的方式進入 Shell 時,系統才會去讀 .bash_profile
開啟
vim ~/.bash_profile
加入以下
source ~/.bashrc
啟動linux 自動載入 source ~/.bashrc