.bash_profile
So yeah, I'm the idiot that accidently "rm"s instead of "vim"s his .bash_profile file.
How do i get it back and what should it have in it? I can make things work the way it was eventually once I get it started.. Thanks |
You just do what you originally wanted to do,
and then add what you need? :) vim ~/.bash_profile To find out what it should (could) have, look at the ones of other users on your system, maybe at /etc/skel/ Cheers, Tink |
There should be a base copy somewhere, like in /etc/skel or /etc/profile. Or copy it from another user.
|
you can always remake it, bash profiles are fairly simple, they just set up some environment variables , and usually some aliases.
and isn't /etc/profile the global one that loads for every user? actually form what i read its the only one thats loaded, most distros use it to call ~/.bash_profile , so for the most part deleting the bash profile in the home directory doesn't do anything, but if your overly worried, just copy one from another user, then modify it a bit |
All times are GMT -5. The time now is 04:03 AM. |