Koozali.org: home of the SME Server

color in telnet

Booker Hinton

color in telnet
« on: October 19, 2000, 03:31:10 PM »
Anyone know how to get the directories, files, etc. to show up in different colors in my telnet sessions?

Fran Boon

RE: color in telnet
« Reply #1 on: October 19, 2000, 04:00:32 PM »
> Anyone know how to get the directories, files, etc. to show up in
different colors in my telnet sessions?

For root:

pico ~/.bashrc
# Add the line:
alias ls='ls --color=auto'

login again & it should work fine :)

I've been unable to get this to work for other accoutns using E-Smith
yet...there's no .bashrc to modify & creating one in
/home/e-smith/files/ doesn't seem work...

Anyone else know how to fix this?

Dan Brown

RE: color in telnet
« Reply #2 on: October 20, 2000, 01:02:46 AM »
edit /etc/bashrc, and add the same line you mentioned.  I usually add -Fh as well.