DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 30th January 2009
paul-lkw's Avatar
paul-lkw paul-lkw is offline
Real Name: Paul.LKW
Port Guard
 
Join Date: May 2008
Location: Hong Kong
Posts: 18
Thanked 0 Times in 0 Posts
Default Shell colour problem

Hi all:
As Linux will have different color presentation for different file/directory type, eg. blue means directory, but I find FreeBSD seems do not have such color presentation, how to enable this ?

Ths a lot.
Reply With Quote
  #2   (View Single Post)  
Old 30th January 2009
BSDKaffee's Avatar
BSDKaffee BSDKaffee is offline
Real Name: Jason Hale
Coffee Addict
 
Join Date: May 2008
Location: Wintersville, Ohio
Posts: 212
Thanked 36 Times in 34 Posts
Default

You can set the environment variable CLICOLOR=yes or when using ls(1) you could just use the -G option.
Reply With Quote
  #3   (View Single Post)  
Old 30th January 2009
paul-lkw's Avatar
paul-lkw paul-lkw is offline
Real Name: Paul.LKW
Port Guard
 
Join Date: May 2008
Location: Hong Kong
Posts: 18
Thanked 0 Times in 0 Posts
Default

Many Ths, It worked.
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Remap colour escape codes bsdperson FreeBSD General 2 14th September 2009 10:52 AM
Shell Scripting with BSD chavez243 Programming 9 3rd December 2008 03:03 AM
incrementing within a shell script? spiderpig Programming 5 29th September 2008 08:12 PM
Color shell? giga FreeBSD General 3 14th August 2008 12:07 AM
Shell Script. bsdnewbie999 Programming 21 15th July 2008 07:54 AM


All times are GMT. The time now is 08:46 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick