system: Raspbian lite 10
I made the .bash_aliases
with some aliases. I accidentally put
if [ -f ~/.bash_aliases ]; then
. ~/.bash_aliases
fi
into .bash_aliases
instead of .bashrc
. After sourcing it I'm unable to login anymore. Is there an emergency mode to fix the files? (I have not set a root password, and I don't have an external sd-reader atm)
ssh
or a serial terminal?