Answers for "how to change the shell of the current user"

1

change user default shell

chsh --shell [/bin/sh | your_shell] [your_user]
Posted by: Guest on April-22-2021
2

linux change prompt to current user

# environment variable PS1 to customize prompt
# u current user
export PS1="u : "
#example
username:
Posted by: Guest on June-12-2021

Code answers related to "how to change the shell of the current user"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language