How to change folder color in terminal ? | Unix Linux Forums | Solaris

  Go Back    


Solaris The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle.

How to change folder color in terminal ?

Solaris


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 02-22-2010
sauronlord sauronlord is offline
Registered User
 
Join Date: Feb 2010
Last Activity: 19 May 2010, 2:00 AM EDT
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
How to change folder color in terminal ?

Hi all,

I am really new to UNIX ..and can any1 help me on change the yellow color to blur color (folder) ? Please refer to the attached pictures ..


Your help is really appreciated .. Have a nice day !
Attached Thumbnails
-cantsee-jpg  
Sponsored Links
    #2  
Old 02-22-2010
jlliagre jlliagre is offline Forum Advisor  
ɹǝsn sıɹɐlos
 
Join Date: Dec 2007
Last Activity: 23 August 2014, 9:01 AM EDT
Location: Paris
Posts: 4,406
Thanks: 15
Thanked 461 Times in 417 Posts
You are using Gnu ls with the --colors option. Modify the LS_COLORS variable contents to change its settings.
Sponsored Links
    #3  
Old 02-22-2010
sauronlord sauronlord is offline
Registered User
 
Join Date: Feb 2010
Last Activity: 19 May 2010, 2:00 AM EDT
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
I have search thru the .login file, .cshrc file and I really can't found it .. sigh .. .. help ..
It is Sun Solaris 8 OS, in Common Desktop Environment ..

anyway thanks for your reply

Last edited by sauronlord; 02-22-2010 at 04:02 AM.. Reason: add some point
    #4  
Old 02-22-2010
hergp hergp is offline Forum Advisor  
Problem Eliminator
 
Join Date: Jan 2010
Last Activity: 21 August 2014, 10:28 AM EDT
Location: Vienna, Austria
Posts: 789
Thanks: 18
Thanked 167 Times in 149 Posts
To get GNU ls you have to install the coreutils package for Solaris 8 from sunfreeware.com. Then create an alias like

Code:
alias ls /usr/local/bin/ls --color

in your .cshrc file and you are done.

Last edited by hergp; 02-22-2010 at 04:59 AM.. Reason: added alias
Sponsored Links
    #5  
Old 02-22-2010
jlliagre jlliagre is offline Forum Advisor  
ɹǝsn sıɹɐlos
 
Join Date: Dec 2007
Last Activity: 23 August 2014, 9:01 AM EDT
Location: Paris
Posts: 4,406
Thanks: 15
Thanked 461 Times in 417 Posts
hergp: The open poster isn't asking about how to have colored output but how to change one of the color used.

sauronlord: The setting might be in .dtprofile or can simply be the default color scheme, if one exists. What says:
Code:
echo $LS_COLORS

?
You can also disable the ls alias and have a regular (b&w) output.
Sponsored Links
    #6  
Old 02-22-2010
sauronlord sauronlord is offline
Registered User
 
Join Date: Feb 2010
Last Activity: 19 May 2010, 2:00 AM EDT
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Hi, thanks for the replies..

I have disable the alias color features, from

gls -F --color=tty

to

gls -F

in order to avoid the yellow color highlighted the folder name.

and yeah, when I enter this command , it's showed variable not defined.
echo $LS_COLORS
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
how to set background color in Unix terminal raghur77 Shell Programming and Scripting 2 08-24-2009 05:14 AM
color terminal and tab completion? clockworks HP-UX 4 06-16-2009 06:16 PM
How to have color coded Terminal display,(like linux) wrapster Shell Programming and Scripting 5 05-22-2008 04:45 AM
Font Color Change Using .profile fifo_vs_lifo23 Shell Programming and Scripting 0 01-25-2007 10:31 AM
Change background color in VI editor tictactoe UNIX for Dummies Questions & Answers 1 09-15-2006 02:19 AM



All times are GMT -4. The time now is 01:18 PM.