show directories in color?

show directories in color?

Post by Chris Woollar » Mon, 22 Nov 1999 04:00:00



I know that in Red Hat 6.x you can use the following command
alias ls = 'ls --color' (Please note that the = sign might not be
necessary)

This will display things in colour.....
(Pardon me but I am English so I use the English spelling of colour)

-> -----Original Message-----


-> Posted At: 22 November 1999 16:58
-> Posted To: misc
-> Conversation: show directories in color?
-> Subject: show directories in color?
->
->
-> Hello, what do I need to add, & where, so that directory names will
-> appear in color at a 'ls' command?
->
-> Drew Krause
->
->

 
 
 

show directories in color?

Post by Aron Felix Gursk » Mon, 22 Nov 1999 04:00:00



> Hello, what do I need to add, & where, so that directory names will
> appear in color at a 'ls' command?

Try the Colour-ls mini-HOWTO at the Linux Documentation Project.

--
        -- Aron

NB: To reply by e-mail, remove "spam-block." from my address.
- - - - - - - - - - -
"Sometimes a cigar is just a cigar."

        -- Sigmund Freud

 
 
 

show directories in color?

Post by Drew Kraus » Tue, 23 Nov 1999 04:00:00


Hello, what do I need to add, & where, so that directory names will
appear in color at a 'ls' command?

Drew Krause

 
 
 

show directories in color?

Post by youn.. » Tue, 23 Nov 1999 04:00:00



> Hello, what do I need to add, & where, so that directory names will
> appear in color at a 'ls' command?

Try adding this to your .bashrc file:

  alias lc='ls --color'

Then when you want to see directories and executables in color use
lc the same as you would use ls...

 
 
 

show directories in color?

Post by Chris Lowt » Tue, 23 Nov 1999 04:00:00


use the "--color" option for ls. To make this happen every time, add the
following line to your $HOME/.bash_profile ..

        alias ls="ls --color"


> Hello, what do I need to add, & where, so that directory names will
> appear in color at a 'ls' command?

From Chris Lowth
---
My Real e-mail address is (roughly):
        chris <AT> lowth <DOT> dircon
                <DOT> <SEA> <OH> <DOT> <YOO> <KAY>
(Silly over-parnoid anti-spam measure)
 
 
 

show directories in color?

Post by Pete Holsbe » Thu, 02 Dec 1999 04:00:00


: use the "--color" option for ls. To make this happen every time, add the
: following line to your $HOME/.bash_profile ..
:
:       alias ls="ls --color"

When I do that, I get directories in bold black on a while
background (normal text is while on a blue bg).

How do I get "real" color?

Thanks,
Pete

 
 
 

1. ANSI Color codes show up on FTP directories

We've been running with 'colored' directory listings for some time now.
Recently something happened on the system that affects an
FTP session whether from DOS or from a program such as WS-FTP.
The color escape codes are displayed on the terminal after FTP listing
commands.  In the case of a DOS session, you can pick the real name of a
desired file out of the ensuing mess but WS-FTP cannot download a file
because it includes the codes in the request.
It appears as if the FTP server is using the default terminal when you log
in instead of a dumb tty terminal.

Any ideas on what caused this problem or what we can do about it?

-george

--
George C. Sievers
Senior Programmer
Real Time Integration, Inc.
1200 Broadway, Suite 3
Chesterton, IN, 46304
Voice: (219) 929-1936
Fax   : (219) 929-1518
Web: <URL: http://www.RealTimeIntegration.com>

2. make bzImage errs at pcbios.c

3. color-ls doesn't show color dir's.

4. booting from zip on 6500

5. X server cannot show 16-bit or 24-bit color

6. Solaris SLIP for linux 486 -> Sparcstation

7. Linux Pro with a Diamond 3D 2000 only shows 8bit color

8. nonblock. tcp-socket: optimal buffer size?

9. Carly's HP shows its true colours

10. Anyway to get emacs colors to show up in ssh session?

11. Netscape showing monchrone, No color

12. why doesn't xterm show colors(rxvt does)

13. X shows wrong colors