ubuntu终端方向键不能用(主机名不显示)问题的解决 sudo gedit /etc/passwd 在/etc/passwd中改动该用户相应的shell:/bin/sh改为/bin/bash就可以解决该问题