I have a problem on my PI3 where my ~/.bashrc is getting wiped when I reboot the PI (all text in the file gone). I then lose color in my terminal and have to copy a backup into the file which works until the next reboot which the file gets erased again.

The terminal is called lxterminal instead of pi@raspberrypi when this occurs.

Does anyone know what the issue is? Is it a bad SD card because I may have removed the SD card with pi shut down but power still plugged in.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.