The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Vim colors in HP-UX kheisler HP-UX 1 02-21-2008 05:19 AM
using colors in mailx konark Shell Programming and Scripting 1 11-13-2007 01:20 PM
Colors in Ksh Script Serious Sam UNIX for Dummies Questions & Answers 0 08-20-2007 04:01 AM
Colors in Red Hat google UNIX for Dummies Questions & Answers 2 01-17-2003 01:43 PM
colors Sage3k UNIX Desktop for Dummies Questions & Answers 1 10-07-2002 01:57 PM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 06-25-2007
Registered User
 

Join Date: Jun 2007
Posts: 1
Colors

Is there a way with the bourne shell to have different types of files show up a different color when you do ls?
Reply With Quote
Forum Sponsor
  #2  
Old 06-25-2007
zazzybob's Avatar
Registered Geek
 

Join Date: Dec 2003
Location: Melbourne, Australia
Posts: 2,100
ls --color=auto (if you're using GNU ls)
Code:
# ls --version
ls (coreutils) x.y.z
...
# ls --color=auto -l /some/dir
You can alias ls to this in your ~/.bashrc

Cheers
ZB
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 02:16 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0