TransWikia.com

can't login after modifying .bash_aliases

Raspberry Pi Asked by abstract on December 2, 2021

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)

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP