摘要: 环境设定 login bash: /etc/profile ~/.bash_profile nologin bash: ~/.bashrc bash变量内容 $HOME #用户home $$ #本shell pid $? #上一条命令返回值 $PS1 #命令提示符 $PS2 #escape后提示符 阅读全文