3

I checked by ls -al in my home directory but I don't see .bashrc file in my home directory. Ubuntu 18.04 release notes does not mention anything about this. I installed it without formatting previous /home partition after deleting files like .bash_, .local, .gnome, etc. I am able to use the pc like normal but where is the bashrc file now? Isn't it supposed to be recreated automatically?

sziraqui
  • 645
  • 3
  • 9
  • 17

1 Answers1

8

Isn't it supposed to be recreated automatically?

No. A default .bashrc file is copied from /etc/skel when a user account is first created by adduser - if you retained your previous user account(s) then there would be no reason for it to be re-created.

You can copy it manually from /etc/skel yourself.

See man adduser.

steeldriver
  • 142,475