Advertisement
dedicating

Fix broken .bashrc

Jan 20th, 2020
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. Fix broken .bashrc - If you somehow your dumb ass went to edit .bashrc and it gives you some bs sytax error in your terminal, this is how you fix.
  2. run
  3. cp ~/.bashrc ~/.bashrc.bak - backs up your current one
  4. cp /etc/skel/.bashrc ~/ - this is copying your default one to your current an1d replacing it
  5. source ~/.bashrc - this updates changes
  6.  
  7. unless you have changed alot of default settings and dont wont to redo it, just run "nano ~/.bashrc" and find out why you are having a error
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement