LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   missing bash files (https://www.linuxquestions.org/questions/linux-newbie-8/missing-bash-files-79586/)

KptnKrill 08-06-2003 01:56 PM

missing bash files
 
My bash prompt has changed from coma @localhost blah blah to "bash-2.05b$" . This wouldn't be a problem except for the fact that it no longer shows colors (so I can't tell whether something is a file or directory) and all of my aliases are gone. :(
I ran ls -a to check my alias file and it's gone. The only bash file I have is .bash_history. Does anyone know what happened or if there's anyway to get these files back? tia.

edit: I just checked the .bash_history file and the last rm command was rm -r ./ Mail. (with the space)

david_ross 08-06-2003 02:04 PM

That would explain why everything is gone. You should be able to copy the .bash* files from the skel directory:
cp /etc/skel/.bash_* /home/USER/
chown USER.USER /home/USER/.bash_*

KptnKrill 08-06-2003 02:45 PM

Thanks! :D


All times are GMT -5. The time now is 04:54 AM.