Shell 自动补全

1) /etc/passwd

It shows like this

in format of

Make sure the Command/shell is the “/bin/bash” and not the “/bin/sh” which may be the default value.

2) $HOME$/.bashrc or /etc/bash.bashrc
Make sure the code blew is not commented out.

3) Reference
http://www.cyberciti.biz/faq/understanding-etcpasswd-file-format/

Leave a Reply