Changing your shell temporarily
You can change your shell temporarily by creating a sub-shell and using that instead of the original shell. You can create a sub-shell using any shell available on your UNIX system. This means that you can look in the /etc/shells file and use a shell listed there, or you can use a shell installed elsewhere on the system (Code Listing 3.6).
To find out which temporary shells you can use:
1. | cat /etc/shells |
2. | ls /usr/local/bin *sh |
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.