在Dibian 8中使用useradd命令創建的用戶默認使用dash,Tab無法自動補全
需要修改/etc/passwd中用戶的屬性,例如
tmp:x:1003:1003::/home/tmp:/bin/sh
修改爲
tmp:x:1003:1003::/home/tmp:/bin/bash
或者在創建時加入相應參數
useradd -s /bin/bash <username>
系統dash配置
sudo dpkg-reconfigure dash
選no,就可以更改默認shell環境
另外,xfce桌面快捷鍵會佔中tab鍵導致無法補全
可以按照下面鏈接中的方法進行解決
http://blog.163.com/thinki_cao/blog/static/83944875201303081111436/