Changing shells

Need support for GhostBSD. Ask here if your question does not fit elsewhere.
Post Reply
jonathanstier
Posts: 4
Joined: Fri Jul 17, 2020 12:27 am

Changing shells

Post by jonathanstier »

When I enter

Code: Select all

chsh /usr/local/bin/sh

i get

Code: Select all

chsh: unknown user: /usr/local/bin/sh

even with sudo. Not sure how to change shells then. Can anyone help?
jonathanstier
Posts: 4
Joined: Fri Jul 17, 2020 12:27 am

Re: Changing shells

Post by jonathanstier »

Nevermind... lol for anyone else in the future, to simply switch shells... just type the name of the shell. i.e. sh
User avatar
ericbsd
Developer
Posts: 2056
Joined: Mon Nov 19, 2012 7:54 pm

Re: Changing shells

Post by ericbsd »

For temporarily change your shell

Code: Select all

sh
For permanent change

Code: Select all

chsh -s /bin/sh
Post Reply