Let's say I start in my local account:
then I switch to root:
Then I switch to oracle:
Is there a way for me to drop back into the root shell (the parent), without logging out of the oracle shell?
It would be convenient in this case, because the oracle account does not have sudo privileges. So for instance, I'm in /some/really/deeply/nested/directory in oracle, and I have all kinds of special environment variables set up. But I need to get back into root to touch some system files.
Currently, I would drop out of the oracle shell to get back to root, run my root commands, then switch back into Oracle. The inconvenience is that I'm logged in from a fresh start, and I lose my working directory and environment.
That being said, is there any way to do what I'm asking?