Changing your shell with chsh
If you decide that you want to change your shell, you probably can, depending on how your system administrator has set things up. As Code Listing 3.5 shows, you would do so using chsh. We usually change to bash.
To change your shell with chsh:
1. | cat /etc/shells |
2. | chsh |
3. | /bin/bash |
4. | su - yourid |
Get Unix: Visual QuickStart Guide now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.