Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
When I bring up my terminal, it always looks something like this in the screen...
/home/fred$
Well, I don't remember exactly what was in there but I do know that my home folder/path was always listed. Now, for whatever crazy reason (and I'm not sure when, how or why) I've been getting this...
bash-3.1$
I don't want "bash"...I want the path to my home folder (like it used to be). Is there anyway to get that back again?.
Ok, I guess what would help the most is if I could just get the code that would set Gnome-Terminal back to the default where I end up with something like...
$home/Fred/
Another thing...Even when I type this stuff in, it always goes back to "bash" when I start the terminal again. Also, I can't "CD" into any of my folders like I used to be able to and reinstalling Gnome-terminal or using other terminals does nothing to solve any of these problems and I always still get the "bash" thing. How did I even get this in the first place??.
HOLY COW...guess what??. I just remembered that I deleted some "hidden" bash files from my home folder a few days ago because I thought they were some sort of spam I had gotten when I installed this one program.
Ok, what do I name this file (name/extension, etc) and do I have to put a period in front of it (like the hidden bash file had)?.
In other words, all of the bash files in my home folder are completely gone.
Ok, what all goes in the default Fedora Core 5/Gnome-Terminal .bashrc file?. I see various examples but all have been heavily modified. I just want what I had before I deleted it.
all .bashrc are the same... it follows bash the program not the distribution
mine
--snip--
eval `dircolors -b /etc/DIR_COLORS`
alias d="ls --color"
alias ls="ls --color=auto"
alias ll="ls --color -l"
alias java="/usr/jdk1.5.0/bin/java"
alias javac="/usr/jdk1.5.0/bin/javac"
# Change the window title of X terminals
case $TERM in
xterm*|rxvt|Eterm|eterm)
PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\007"'
;;
screen)
PROMPT_COMMAND='echo -ne "\033_${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\033\\"'
;;
esac
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.