DEV Community

Janardhan Pulivarthi
Janardhan Pulivarthi

Posted on • Updated on • Originally published at i.janardhanpulivarthi.com

In case you mess up the bash files

When login to the computer, bash profile loads. If the bash file has syntax error logging fails. And you cannot login to the machine because the connection get closed.

The trick is to press Ctrl+C immediately after the login to prevent bash profile from loading.

refer:
https://unix.stackexchange.com/a/232269

Top comments (0)