Results 1 to 3 of 3
Hi all,
I wanted to edit the .bash_profile, but in the middle vi got freeze and I have to close it. Now I cannot open the .bash_profile, and could not ...
- 12-24-2008 #1Just Joined!
- Join Date
- Dec 2008
- Posts
- 3
how to restore the .bash_profile
Hi all,
I wanted to edit the .bash_profile, but in the middle vi got freeze and I have to close it. Now I cannot open the .bash_profile, and could not find the /home/.bash_profile.
But home/.bash_profile-old is there, so how can I restore the .bash_profile from the .bash_profile-old?
Thanks in advance,
fish
- 12-24-2008 #2
If you want .bash_profile to be an exact copy of .bash_profile-old, then you can simply copy it.
Code:cp .bash_profile-old .bash_profile
Registered Linux user #388328 || Registered LFS user #15880
AMD 64 X2 4600+ :: 2X1GB DDR2 800 :: GeForce 9400 GT 512MB :: ASUS M2N32 Deluxe :: 4X250GB SATAII
Need instant help? Try us on IRC -- #linuxforums on freenode
- 12-24-2008 #3Just Joined!
- Join Date
- Dec 2008
- Posts
- 3
Thanks smolly. It helps
fish


Reply With Quote