command to change the shell

Hi,

I want to change the shellrite now I am in ksh shell , I want to switch to bash shell
I have tried the command ...

$ chsh -s /bin/bash

but it is showing error ....

-ksh: chsh: not found [no such file or directory]

Just type the shell name (executable) you want to switch to.

$ 
$ echo $0
-bash
$ ksh
$ echo $0
ksh
$ csh
$ echo $0
csh

Press ^D or exit to go back to the previous shell ( in the order you invoked)

1 Like