ubuntu txt 中文乱码解决
ALT+F2打开运行对话框,运行代码:gconf-editor展开“/apps/gedit-2/preferences/encodings/”编辑右侧的“auto_detected”将“GB18030”添加到最顶上。以后文本编辑器就可以正常显示中文了[@more@]
HP-UX PS1
在环境变量.profile内添加 export PS1=$LOGNAME@`hostname`['$PWD$'] $LOGNAME表示登陆账号名称 `hostname`表示主机名称,注意是`,不是'[@more@]