Posso alternar entre comandos no Bash:
$ vim
CTRL-Z
# vim is in background now
# can resume it with:
$ fg
Estou tentando fazer o mesmo com um shell aninhado, mas não está funcionando:
# launch nested Bash shell:
$ bash
CTRL-Z
# still in nested shell...
É possível colocar um shell aninhado em segundo plano e retornar a um shell pai, semelhante ao vim
exemplo?
Se não for possível, quais são os motivos?
Sim