服务器账户bash不显示服务器名 大不列颠兔兔 2021-10-08 221 阅读1分钟 常规登录到服务器系统中,账户会有如下格式: [root@localhost ~]# timed out waiting for input: auto-logout 但是有时候也会出现显示异常,下面是常见的应对方法: 出现bash-3.2 将显示正常的用户下面的bash一类的文件都拷贝过来就可以了。 出现bash-4.1 在bath_profile里面加:export PS1='[\u@\h \W]$'