Quantcast
Channel: Is it possible to switch shells without getting dumped into the old shell by exit? - Ask Ubuntu
Browsing latest articles
Browse All 2 View Live

Answer by steeldriver for Is it possible to switch shells without getting...

You can use the exec command to replace one interactive shell with another. From man bash for example (where exec is provided as a shell builtin command) exec [-cl] [-a name] [command [arguments]] If...

View Article



Is it possible to switch shells without getting dumped into the old shell by...

For example, let's say I have bash, sh, fish, zsh, pwsh or more installed. If I start bash, switching into sh leads to the following: user@device:/folder/directory$ sh $ exit...

View Article
Browsing latest articles
Browse All 2 View Live




Latest Images