JavaShuo
欄目
標籤
【MAC】source ~/.bash_profile只在當前shell下生效
時間 2021-01-17
標籤
mac
linux
shell
bash
欄目
MacBook
简体版
原文
原文鏈接
引言,mac中有許多不同的shell種類,一般linux中使用的是bash,而我手上這臺macbook pro用的是zsh,而在使用bash終端的時候,mac加載環境變量的順序是: /etc/profile /etc/paths ~/.bash_profile ~/.bash_login ~/.profile ~/.bashrc 前兩個是系統級別的,當開機時會自動加載,後面 3 個是當前用戶級別的
>>阅读原文<<
相關文章
1.
Mac bash_profile生效問題
2.
mac 配置完環境變量後使生效source .bash_profile,出現.bash_profile:18: bad assignment
3.
linux下修改.bash_profile當即生效的三種方法
4.
Mac 每次都要執行source ~/.bash_profile
5.
mac 下 .bash_profile配置
6.
Mac每一次都要執行source ~/.bash_profile 配置的環境變量才生效
7.
Mac 每次都要執行source ~/.bash_profile 配置的環境變量才生效
8.
Mac OS X下修改.bash_profile以後source .bash_profile出現「command not found」問題解決
9.
mac bash_profile
10.
mac下建立bash_profile文件
更多相關文章...
•
RSS
元素
-
RSS 教程
•
PHP gd_info - 取得當前安裝的 GD 庫的信息
-
PHP參考手冊
•
TiDB 在摩拜單車在線數據業務的應用和實踐
•
Docker容器實戰(七) - 容器眼光下的文件系統
相關標籤/搜索
source
只當
只在
Mac下
當下
當前
生效
在下
在前
生在
Unix
Linux
MacBook
PHP 7 新特性
Spring教程
MySQL教程
0
分享到微博
分享到微信
分享到QQ
每日一句
每一个你不满意的现在,都有一个你没有努力的曾经。
最新文章
1.
說說Python中的垃圾回收機制?
2.
螞蟻金服面試分享,阿里的offer真的不難,3位朋友全部offer
3.
Spring Boot (三十一)——自定義歡迎頁及favicon
4.
Spring Boot核心架構
5.
IDEA創建maven web工程
6.
在IDEA中利用maven創建java項目和web項目
7.
myeclipse新導入項目基本配置
8.
zkdash的安裝和配置
9.
什麼情況下會導致Python內存溢出?要如何處理?
10.
CentoOS7下vim輸入中文
本站公眾號
歡迎關注本站公眾號,獲取更多信息
相關文章
1.
Mac bash_profile生效問題
2.
mac 配置完環境變量後使生效source .bash_profile,出現.bash_profile:18: bad assignment
3.
linux下修改.bash_profile當即生效的三種方法
4.
Mac 每次都要執行source ~/.bash_profile
5.
mac 下 .bash_profile配置
6.
Mac每一次都要執行source ~/.bash_profile 配置的環境變量才生效
7.
Mac 每次都要執行source ~/.bash_profile 配置的環境變量才生效
8.
Mac OS X下修改.bash_profile以後source .bash_profile出現「command not found」問題解決
9.
mac bash_profile
10.
mac下建立bash_profile文件
>>更多相關文章<<