Solved Default dot files in home directory

I accidentally deleted the default dot files in my home directory on my desktop pc. On my laptop, I can see that there are files such as .cshrc, .login, .login_conf, .mail_aliases, .mailrc, .profile and .shrc, which must have been created by the installation process; I have not edited them later on.
Is there a way to recreate these files on my desktop pc? Unfortunately I do not have a snapshot of my home directory.
Any advise would be appreciated.
 
/usr/share/skel
Thanks Zirias. I copied over the dot files.

I could not copy dot.mail_aliases as user, due to its file permissions. So I copied it as root and changed ownership, keeping the file permission -rw-------. Hope that is how it is supposed to be.
 
On my machine $HOME/.mail_aliases is what you have, rw for owner, nothing for group or other. So, it seems as if you're right.
 
  • Thanks
Reactions: drr
Back
Top