I have just installed puppy linux and the bash package but cant seem to have the terminal start up with bash instead of sh

  • Tried using chsh: command not found – arcyqwerty Apr 1 '12 at 3:41

You should be able to change your login shell in /etc/passwd in all Linux distros. Below, an example line. Note how the last component points to a shell binary.


If you want it to be the system-wide default shell, this series of commands (run from a root shell) will do it: rm -f /bin/sh; ln -s bash /bin/sh

Otherwise, editing the /etc/passwd file as @mkaito suggests will let you change the default shell for your user account.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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