.bash_profile 加載

1.Debian默認的shell是Bash,   1.1 命令行 和 ssh 登錄 ,首先讀入 /etc/profile,這是對所有用戶都有效的配置;然后依次尋找下面三個文件,這是針對當前用戶的配置。    ~/.bash_profile    ~/.bash ...

Tue Nov 07 02:22:00 CST 2017 0 2122
Nginx 重新加載日志配置

最近在寫一個nginx日志的切割腳本,切割完后,發現可以不重啟服務,而直接重新加載日志配置文件的命令 [ kill -USR1 $nginx.pid ],但是不知道 -USR1這個參數是什么意思,最后網上找找別人的經驗,話不多說,客官您往下看看 ...

Thu May 03 01:01:00 CST 2018 0 1039
Mac 下更新 bash_profile文件

touch ~/.bash_profile; // 將目錄跳轉到.bash_profile這個文件夾 open -t ~/.bash_profile //打開.bash_profile文件 這時候會彈出一個新的窗口輸入 export PATH=$PATH:/Users/XXXXX ...

Thu Jul 05 19:57:00 CST 2018 0 1156
Mac 打開、編輯 .bash_profile 文件

1. 啟動終端Terminal 2. 進入當前用戶的home目錄 輸入cd ~ 3. 創建.bash_profile 輸入touch .bash_profile 4. 編輯.bash_profile文件 輸入open .bash_profile ...

Wed Jun 05 21:53:00 CST 2019 0 2917
mac 下更新 .bash_profile 文件

1、打開terminal(終端) 2、cd ~ ( 進入當前用戶的home目錄) 3、open .bash_profile (打開.bash_profile文件,如果文件不存在就 創建文件:touch .bash_profile 編輯文件:open -e bash_profile ...

Mon Feb 10 18:19:00 CST 2014 0 46413
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM