.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