Don't run a command you don't know

By editing that file the way you did, you gave ownership to root, so now your user likely can’t use it. You need to give it back.

sudo chown $USER:$USER $HOME/.bashrc

Also, i think messed up the formating of your post.

3 Likes