SecureCRT 终端类型使用 Xterm 时,可以修改 PS1 变量值来定制 Shell的标题栏和提示符
修改 .bashrc 或 .bash_profile,添加:
PS1="\[\e];Performance-Server\a\][\u@\h \W]\$"
标题栏会显示:Performance-Server
参考:
http://adamcavendish.is-programmer.com/posts/35659.html
http://blog.csdn.net/zly8602/article/details/5807231