Enjoy BYOND? Contribute today!
Oct 28 2005, 4:27 pm
Being the idiot that I am.. I a deleted the .bash_profile file. So, my question is, how would I restore it?
Oct 28 2005, 5:31 pm
Most of the time the .bash_profile contains custom startup commands, as in commands that automaticly run after the main system stuff is done. You can usually just make a new one and fill it with commands you want to run at startup/login.
Oct 29 2005, 8:53 am
In response to
if you have not added any custom shell startup stuff into the .bash_profile, you can kinda cheat two ways: either copy root's .bash_profile to your own account directory, making sure to change ownership of the file afterwards to your account name, or (and probably safer if root's shell contains different stuff than a normal user is expected to have) create a new user account, then copy the new user's profile to your own (changing ownership of the copy to you afterwards).
Copyright © 2013 BYOND. All rights reserved.
Terms of Service