Let's say I start in my local account:
avindra@host:~>
then I switch to root:
host:~ #
Then I switch to oracle:
[ oracle@host:~]
Is there a way for me to drop back into the root shell (the parent), without logging out of the oracle shell?
This would be convenient, because the oracle account does not have sudo privileges. A typical scenario with oracle is that I end up in /some/really/deeply/nested/directory, and all kinds of special environment variables are set in particular ways.
Here comes the problem: I need to get back into root to touch some system files. Yes, I can log out of oracle to get back to root, but at the cost of losing my current working directory and environment.
Is there a way to "switch" to the parent shell using known conventions?