Colored directories

 
Thread Tools Search this Thread
Operating Systems OS X (Apple) Colored directories
# 1  
Old 03-25-2012
Colored directories

I just updated to Lion and when I went to use the terminal, all the directories were black. It used to be that the directories were blue? and some things were green and then files were black. Does anyone know how to change this? I tried using:
alias ls='ls -Fskb -color=auto'
without success.

Thanks!
# 2  
Old 03-25-2012
Hi.

Code:
export CLICOLOR=1

ought to do the trick.
# 3  
Old 03-25-2012
try using ls with -G flag

Code:
ls -G

also does the work for you.
Give it a try.
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Script output in Email is not showing Colored headers

Hi All I am working on AIX 7.1 and I am trying to show an output that I get from "cat" a log file to email. However in email I get the below output: In the script I have defined the colors as: #!/bin/sh echo "\033 Below is the script I have created to send this output: ... (9 Replies)
Discussion started by: Bubs
9 Replies

2. Shell Programming and Scripting

Echo a colored text with tabs

I have the line below to echo values with tab between them. The text is also colored, however, some\t does not work. The output of this one below will have the first two \t not working. echo "\033}\t$time\t$end\t$day\t$score\033 This one below will have all the \t working but will also... (4 Replies)
Discussion started by: erin00
4 Replies

3. UNIX for Dummies Questions & Answers

colored/highlighted/bold matching pattern with awk ???

Hi ! Just wondering, is it possible to color or highlight or underline a matching pattern with awk ? Or write it in bold, italic.....? (3 Replies)
Discussion started by: lucasvs
3 Replies

4. UNIX for Dummies Questions & Answers

How to get directories colored when doing change directory and tab

I am trying to navigate between directories using cd. However, the only way to distinguish directories now is by seeing the "/' after the directory names, which is quite inefficient. How can I make the directories look in color when typing cd and then using the tab key to list the files and... (1 Reply)
Discussion started by: genehunter
1 Replies

5. Shell Programming and Scripting

Colored output in awk

Hi, Can anybody please help me how can we can we have the colored output using awk. I am writing a script in solaris platform. but its not printing the colored output. its assuming hex values as character awk -F"|" '{ print "\033 \033[1;31mabcd|efg\033[0m \033[1;31mabcd|efg\033[0m... (1 Reply)
Discussion started by: vikash_k
1 Replies

6. Shell Programming and Scripting

getting colored output in perl

Hello, I am scripting in perl and I need to get my output of the "print" statement in color. Please tell me how to go ahead. Radha (2 Replies)
Discussion started by: s123.radha
2 Replies

7. UNIX for Dummies Questions & Answers

Zshell Colored output

Hi All, is there anyway to color the output following a shell command? For instance: $cat somefile.txt Hello, I am the contents of somefile.txt I'm using zsh, with ANSI colors enabled. Thanks! (0 Replies)
Discussion started by: tolmark
0 Replies

8. UNIX for Dummies Questions & Answers

colored data output

Hi, I am working with HP-UX 11. I try to make an colored data output with echo. I tried the following: echo "\033]32m Red" This works perfectly in my terminal. But when I type the same at the hpterm, it does not work, the terminal just prints the complete text "\033]32m Red" without... (1 Reply)
Discussion started by: bensky
1 Replies
Login or Register to Ask a Question