LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   How to change shell to ksh (https://www.linuxquestions.org/questions/linux-software-2/how-to-change-shell-to-ksh-473808/)

rajeshsfo 08-14-2006 01:06 PM

How to change shell to ksh
 
How to change the default shell from bash to ksh.

Thanks in adavnce.

w3bd3vil 08-14-2006 01:17 PM

man chsh
dont know what distribution your working with.
or you could try changing the shell in /etc/passwd
anyhow you need ksh installed first.

a.malich 08-14-2006 01:26 PM

Hi,

The manual way:
  1. Make sure you've got ksh installed on your system. If not, get it from here.
  2. As root, open up /etc/passwd in any text editor.
  3. Change /bin/bash to /bin/ksh in the line describing the account you are using.
Or just use chsh, pretty simple :)

a.malich

rajeshsfo 08-14-2006 02:01 PM

Thank you for your help.


All times are GMT -5. The time now is 12:11 AM.