Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I configured a bare-bone FreeBSD box. And I surprised that console does not support auto-completion. In fact, it supported on root account, but not in normal user account. I'm guessing it caused by some kind of shell selection. (1) What's the default shell of root account? (which support auto-completion) Or (2) any recommended shells? (3) And How can I know the shell that I'm using.

share|improve this question
up vote 1 down vote accepted

Default csh. Recommend root login shell csh.

Add in /root/.cshrc:

set autolist = ambiguous
set complete = enhance

Also you can install bash(zsh) and run it. But i don't recommend change root shell. Because bash(zsh) have more shared library dependencies and the upgrade may break your system(root login).

Or install bash and change login bash. But, before upgrade system change shell back.

Change shell:

chsh USER -s SHELL
chsh root -s /usr/local/bin/bash
share|improve this answer

You probably want to install and use a shell shell such as bash or zsh for your user accounts. I'm not sure if this applies to freebsh but on linux you can change your login shell using chsh to any of the shells listed as being allowed by the system.

If this isnt' your problem, it might be helpful to post a note about what shell you are using. You can find this by looking at the value of $SHELL.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.