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 09-22-2007, 02:00 PM   #1
seattleweb
LQ Newbie
 
Registered: Jul 2007
Posts: 15

Rep: Reputation: 0
Color Gone in PuTTY


I have a small problem: after updating Ubuntu, when I PuTTY into the machine, my colors have disappeared (i.e. red for gzip, green for scripts, blue for directories)... instead now, I have only Black/White.

Does anyone know how to fix this problem? (Google has not been my friend on the issue)
 
Old 09-22-2007, 02:14 PM   #2
otoomet
Member
 
Registered: Oct 2004
Location: Tartu, Århus,Nürnberg, Europe
Distribution: Debian, Ubuntu, Puppy
Posts: 619

Rep: Reputation: 45
Do you have colors when using an xterm on console?

I suggest the reason is the following: the colors are not directly related to putty but to the 'ls' command. Try 'ls --color=auto' at putty. If this works, add the lines like
Code:
    alias ll='ls -l --color=auto'
    alias ls='ls --color=auto'
to your .bashrc file

Best,
Ott
 
Old 09-22-2007, 02:47 PM   #3
seattleweb
LQ Newbie
 
Registered: Jul 2007
Posts: 15

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by otoomet View Post
Do you have colors when using an xterm on console?

I suggest the reason is the following: the colors are not directly related to putty but to the 'ls' command. Try 'ls --color=auto' at putty. If this works, add the lines like
Code:
    alias ll='ls -l --color=auto'
    alias ls='ls --color=auto'
to your .bashrc file

Best,
Ott
Thank you.. that worked! Unfortunately my gzip files are still white and not red
 
  


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
REQ: Gimp plugin fo automatic color correction and color masks Rick069 Linux - Software 1 04-15-2007 03:10 PM
Color Depth, True Color, How to pacranch Amigo 2 04-09-2005 05:16 AM
[COLOR=red]ENCORE WIRELESS PCI Card 802.11b [/COLOR] enrique145 Linux - Hardware 3 07-07-2004 02:31 PM
bsetroot -gradient texture -from color -to color patpawlowski Linux - General 3 02-10-2004 01:51 PM
[COLOR=seagreen]HELP-want to use Kickstart/rh7.2 on a notebook[/COLOR] verbali Linux - Newbie 1 05-13-2002 01:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:58 PM.

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
Open Source Consulting | Domain Registration