Setting Default Linux Shell

My new user I created did not have any when I logged in. To set up a you need to know where the resides with this :
$ which
where bash is the shell name. Replace bash with your choice of shell e.g csh. Now you need to set your and tell where it is:
chsh -s /usr/local/bin/bash danny. CHSH – with parameter -s. /usr/local/bin/bash is the path to the shell. This should be replaced with the out from the first command which. Danny is the username. Change this to your respected user name. It will prompt you for your password. Once authenticated you need to logout and log back in to see your changes.

Setting bash as default shell

Related posts:

  1. Linux Terminal Not Auto-completing
  2. Bash Reverse Search
  3. Check GUI Program Is Running In Linux
  4. Kick A Linux User Who’s Logged In
  5. Mount ISO File In Linux

About Danny

Young I.T software professional always studying and applying the knowledge gained and one way to do this is blogging. Dedicated to I.T since studying pure Information Technology since the age of 16, Danny is now in the industry that he has aimed since leaving school. View all posts by Danny → This entry was posted in Linux and tagged , , , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *.

*

All comments must go through an approval and anti-spam process before appearing on the website. Please be patience and do not re-submit your comment if it does not appear.