ls color


 
Thread Tools Search this Thread
Operating Systems AIX ls color
# 1  
Old 05-12-2004
Question ls color

Hi ppl!

Do you know how to display color with ls in aix 4.3, 5.2 and in hpux and sunos as well ?

thanks.
# 2  
Old 05-13-2004
The only systems I've personally seen color in `ls` output is GNU/Linux systems.

That's because they're using GNU ls, from the GNU fileutils package. If you look at your aliases, you'll probably find that "ls" is an alias for "ls --color=tty", meaning that any time the output is a terminal, you'll get color (but not if output is a pipe or a file).

As far as I know, you can either compile and install GNU ls, or you may be out of luck.
# 3  
Old 05-13-2004
For HP-UX, see this.

For SunOS, see http://www.sunfreeware.com/

I wonder if there is a similiar site for AIX. I don't know of one.
# 4  
Old 05-14-2004
Thanks guys
Login or Register to Ask a Question

Previous Thread | Next Thread

2 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Identify Color and send email with same color

Hello mates, I have a requirement where in which I have to mail an output from multiple programs in the same colour as the output from shell script. I have seen a post to mail html in our forum,but my case is I have to first identify which colour the output is in an then mail it to in the ... (10 Replies)
Discussion started by: Kingcobra
10 Replies

2. UNIX for Dummies Questions & Answers

How to change the background color in the init 3 mode(not line color)

Hello, I am using RHEL 6.1 on VMware I am searching for a way to change background color (not line by line color wich one can using tput command) basically changing the color of the whole screen to white instead of the default black and changing font color to black and alos would like to... (2 Replies)
Discussion started by: Dexobox
2 Replies
Login or Register to Ask a Question