LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 11-29-2007, 04:32 AM   #1
ust
Senior Member
 
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,130

Rep: Reputation: 31
Why will change the colour


We use the software "Netterm" to connect the Linux server , but I found that sometimes when use specific command like ls , ll etc, the characters will change other colour , just like login on the console , can advise if I don't want the colour be chanaged , what can i do ?

I found that only root user have this problem .

besides, all user user VT220 now , VT220 works fine for all application , except change TERM , can advise other method ? thx

Last edited by ust; 11-29-2007 at 04:44 AM.
 
Old 11-29-2007, 05:58 AM   #2
KenJackson
Member
 
Registered: Jul 2006
Location: Maryland, USA
Distribution: Fedora and others
Posts: 757

Rep: Reputation: 145Reputation: 145
Try these commands:

echo $LS_OPTIONS
type ll

Your LS_OPTIONS variable probably contains the --color=auto switch, which was probably put there by /etc/profile.d/alias.sh. I would not edit that file directly, though, because that would affect future updates.

Command ll could possibly be an alias with some color command also, depending on your distro.

You can fix any such issue by editing your ~/.bashrc file. To get rid of all automatic ls options and colors add this:

export LS_OPTIONS=
export LS_COLORS=

Or you may want to be careful to allow for future updates by just deleting the specific switch you don't like:

export LS_OPTIONS="${LS_OPTIONS/--color=auto/}"
 
  


Reply



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
how i change the colour of my terminal in the yawe_frek Linux - Software 4 12-01-2006 09:53 PM
Can anyone tell me how to change the colour of the title bar in firefox? mish_the_pink Linux - Desktop 4 11-18-2006 06:53 PM
How to Change Console Text Colour flamesrock Linux - Software 3 05-10-2005 07:49 PM
How to change kicker colour? ginda Linux - Newbie 2 03-20-2005 07:16 AM
Easier way to change resolution and colour? saiz66 Slackware 2 05-25-2003 04:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:24 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