0

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

1
  • Tried using chsh: command not found
    – arcyqwerty
    Apr 1, 2012 at 3:41

2 Answers 2

2

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.

mkaito:x:1000:100:,,,:/home/mkaito:/bin/zsh
0

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.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .