LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-06-2003, 02:56 PM   #1
KptnKrill
Member
 
Registered: Apr 2003
Location: US, MA
Distribution: Nandu-0.ab, Arch 0.7.2
Posts: 229

Rep: Reputation: 30
Unhappy 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)

Last edited by KptnKrill; 08-06-2003 at 02:59 PM.
 
Old 08-06-2003, 03:04 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
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_*
 
Old 08-06-2003, 03:45 PM   #3
KptnKrill
Member
 
Registered: Apr 2003
Location: US, MA
Distribution: Nandu-0.ab, Arch 0.7.2
Posts: 229

Original Poster
Rep: Reputation: 30
Thanks!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
error: -bash: [: missing `]' eduac Linux - Software 5 07-17-2005 03:08 PM
bash is missing sunwj82 Linux - Enterprise 5 12-24-2004 01:05 AM
making .tif files into animated .gif files (bash shell, Red Hat 7.2) illiniguy3043 Linux - Newbie 1 06-01-2004 05:04 PM
Bash: make command missing Guiderone Linspire/Freespire 3 04-21-2004 01:04 PM
Missing Bash Files krymsunmortis Slackware 3 01-12-2003 08:44 PM


All times are GMT -5. The time now is 11:22 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration