I accidentally deleted the .profile in my Ubuntu 18.04 today. How to retrieve this.
regards,
I accidentally deleted the .profile in my Ubuntu 18.04 today. How to retrieve this.
regards,
You can copy the default $HOME/.profile
that your user account was created with from the /etc/skel
directory:
cp -i /etc/skel/.profile ~/
Obviously you will lose any customisations that you made to the file.
.profile
file did you delete? your own user's$HOME/.profile
or something else? – steeldriver Mar 25 '20 at 16:33