English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
The Linux chsh command is used to change the user's shell setting.
Usage Permission: All Users.
shell>> chsh
shell>> chsh Changing the fihanging shell for user1 Password: [del] New shell [/bin/tcsh]: ### [is the currently used shell] [del] shell>> chsh -l ### Display /etc/Content of shells archive /bin/bash /bin/sh /bin/ash /bin/bsh /bin/tcsh /bin/csh
Change the current shell. The current shell setting is//bin/Change the shell setting through the chsh command/bin/csh.
# chsh Changing shell for root. New shell [/bin/bash]: /bin/csh //Enter the new shell address Shell changed.
Through -The s parameter changes the current shell setting
# chsh -s /bin/csh //Change the current setting to /bin/csh Changing shell for root. Shell not changed.