I was editing my .bash_profile and .bash_login, and I accidentally added a circular reference so that two files were including each other. After closing the session and trying to sign in again, the circular reference hangs the process. Fortunately, this was on WSL so I can edit the file using Windows, and I also had a separate session still open so I didn't even need to.
However, hypothetically if this was not the case, how would one sign in to Linux without loading the profile files, or how could one sign in and remove the circular reference?