Question

Setting TCSH in FreeBSD

This page https://www.digitalocean.com/community/tutorials/how-to-get-started-with-freebsd-10-1 suggests that on login, I’ll be presented with the tcsh prompt. However, the droplet is defaulting to csh.

I can locate tcsh under /bin/tcsh but using setenv in my local .cshrc file doesn’t cause this shell to be used on next login.

How and where can I set tcsh as my default please?


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

You are actually using tcsh, it is the improved version of csh:

shasum /bin/tcsh /bin/csh 74d4129fb4604baf8f272e9d4a4f1be80c89be5b /bin/tcsh 74d4129fb4604baf8f272e9d4a4f1be80c89be5b /bin/csh

What, exactly, has been configured in a non-default fashion (compared to a standard physical install) in a Digital Ocean FreeBSD droplet image, if anything?

Use vipw to edit /etc/master.passwd and select the shell you want

Alternative includes: https://www.freebsd.org/doc/handbook/shells.html