1.//socket不能连接
排除:A.端口是否正确对应;B;防火墙问题;C.排除ip为127.0.0.1.
2.//ubuntu 13.04新建用户登录终端显示"sh-4.2"
修改/etc/passwd,为其指定使用bash
3.//shell 没有配色方案,"ll"命令不起作用
拷贝其他用户工作目录下的.bashrc文件,再chown,最后运行source .bashrc使其生效.为防止账户退出时.bashrc可能失效的情况,可在~/.bash_profile中添加如下代码:
if [ -f ~/.bashrc ]; then source ~/.bashrcfi