Today I was answering a question here about an infinite loop between /etc/profile and /etc/bash/bashrc (or any other variant from bash initial script)where the first call the second and vice-versa. Leaving you incapable of entering commands in bash. On that specific scenario the solution was to boot from a live system and edit one of both files... but what could someone do if, for example, the same happens on an AWS instance?This is a theoretical question, I suppose that it could happen to someone. PS. I know that the fastest solution would be to kill the server and start a new one, but is there any other option?
How to end an infinite loop on a cloud server?
bash;boot;cloud