I'm having trouble trying to set up color through my PuTTY terminal. I am working via a shared web server, which is running Red Hat 7.2, and I am editing the .bashrc file in my home directory. Two main questions:
1) I have managed to set up an alias 'blah' that is equivalent to typing 'ls --color'. This seems to work. However, when I try to set up an alias for 'ls', it seems as though somehow the name 'ls' is not accepted for an alias (i.e., my text highlighting of my .bashrc file does not highlight it like the other alias names). This same problem happens with trying to name an alias 'test'. I'm wondering, could this be that these are reserved words or something of the like? Okay, now here's the really weird part. Even though 'test' is not highlighting as the other aliases do, it seems to produce the desired result when I type it at my prompt. 'ls', however, to no avail.
Here is my current .bashrc file:
# User specific aliases and functions
alias www="cd www"
alias blah="ls --color"
alias test="ls --color"
alias ls="ls --color"
# Source global definitions
if [ -f /etc/bashrc ]; then
2) I can't figure out how to get my terminal (or, whatever else is the culprit) to display the prompt etc. in color (I am under the impression that there are built-in rules for this? Or is it just something that you set manually?). I have set my term=xterm-color and can verify this setting by typing 'echo $TERM'. Any ideas?
Be forewarned that I am a total Linux newbie, so although I understand how to use some things, I don't have the underlying understanding of what everything means. I've tried searching google up one side and down the other, but I don't think I'm looking for the right thing.
Thanks so much in advance for your help!