- Access Hands-On Labs here Hands-On Labs
- To check the default shell for the current user.Display the shell for the current user but not necessarily the shell that is running at the movement.
$ echo $SHELL
- To change the shell for bob from
Bash
toBourne Shell
$ chsh -s /bin/sh bob