0

Could someone give me the content of a fresh .bashrc ? I did not find it with Google.

Why ? Because I unfortunately ecrased it.

loloof64
  • 229

1 Answers1

2

There isn't a default .bash_profile but you can get a new copy of .bashrc from /etc/skel/.bashrc:

cp /etc/skel/.bashrc /home/$USER/

If you meant .profile, that's also sitting in /etc/skel:

cp /etc/skel/.bash_profile /home/$USER/
Oli
  • 293,335
  • But for bash_profile ? – loloof64 Jun 04 '15 at 08:53
  • That's what I'm saying, there isn't a default .bash_profile. It's not a thing (at least not on my system). We use .profile. – Oli Jun 04 '15 at 08:54
  • I thought it was already on my /home when i first installed an Ubuntu. Sorry. This fact solve by itself my issue. Also your command line. – loloof64 Jun 04 '15 at 08:55