image
image

Go Back   macosx.com > Mac Help Forums > Unix & X11

Reply
 
Thread Tools
  #1  
Old July 26th, 2004, 01:25 AM
Registered User
 
Join Date: Jul 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
cricketlover is on a distinguished road
Making 'ls' display colors

Hi,

How do I make 'ls' display colors. There is no --color option in Darwin like there is in linux. BTW I am using Mac OS X 10.2.8 with Darwin Kernel version 6.8.

Thanks,

Div
Reply With Quote
  #2  
Old July 26th, 2004, 04:57 AM
3mors's Avatar
HampCake Studios
 
Join Date: Oct 2001
Posts: 660
Thanks: 0
Thanked 0 Times in 0 Posts
3mors is on a distinguished road
if u check "man ls" u find it.

"ls -G" gives you a coloured output.
__________________
3mors
------------------------------------------------------
iMac G5 20"/MacBook Pro 17"/PowerBook G4
------------------------------------------------------
Reply With Quote
  #3  
Old July 26th, 2004, 01:04 PM
mdnky's Avatar
[Bobs/Prog/Design:~] mod%
 
Join Date: Jul 2001
Location: Baton Rouge, LA - USA
Posts: 2,648
Thanks: 0
Thanked 0 Times in 0 Posts
mdnky is on a distinguished road
Unless you run 10.3, you supposedly have to download a custom version of LS for colored output.

http://www.macosxhints.com/article.p...31027145026892

(Older Hint - has link for new LS)
http://www.macosxhints.com/article.p...00112201143624
__________________
.
| mdnky@macosx.com | My Homepage | My Music | Restore the Pledge | MacOSX.com Widget |

• MacBook Pro Core2Duo 2.33GHz 15", 2GB DDR2 RAM, 120GB, DL Superdrive, OS X 10.5,
• Apple 23" Cinema HD Display, Apple Slim-Alum Keyboard, Apple BT Alum Keyboard, Logitech Optical Scroll Mouse
• iPhone 3G, iPhone 8GB, iPod Photo 30GB, Nikon D50, Nikon L6, Epson 3490, Epson R1800, HP LaserJet 1200
• LaCie 500GB d2 Quadra, LaCie 160GB d2 FW, harman/kardon SoundSticks II, Mighty Mouse, iSight

Reply With Quote
  #4  
Old July 26th, 2004, 01:55 PM
3mors's Avatar
HampCake Studios
 
Join Date: Oct 2001
Posts: 660
Thanks: 0
Thanked 0 Times in 0 Posts
3mors is on a distinguished road
Quote:
Originally Posted by mdnky
Unless you run 10.3, you supposedly have to download a custom version of LS for colored output.
not right. it works also on jaguar.
__________________
3mors
------------------------------------------------------
iMac G5 20"/MacBook Pro 17"/PowerBook G4
------------------------------------------------------
Reply With Quote
  #5  
Old July 29th, 2004, 04:49 PM
Registered User
 
Join Date: Jul 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
cricketlover is on a distinguished road
Quote:
Originally Posted by mdnky
Unless you run 10.3, you supposedly have to download a custom version of LS for colored output.

http://www.macosxhints.com/article.p...31027145026892

(Older Hint - has link for new LS)
http://www.macosxhints.com/article.p...00112201143624
ls -G does not work on my machine, since there is no -G option.
The older link (mentioned in your message) asks me to download a version of ls written by someone, but that person't website does not seem to have it anymore.

Div
Reply With Quote
Reply

Thread Tools

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -5. The time now is 10:48 PM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.