[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ls color for bad symbolic link



Tong wrote:
 >
Thanks everyone for the respond... yet I'm still looking for the answer
that I want -- the fact is I have no problem showing colors using ls. Just
need to distinguish bad symbolic link from good ones.
Ok, let's take a look at an example:

touch a
ln -s a l1
ln -s no l2
rm no

ls --color=auto

Do l1 and l2 show up in same color?
In my Debian, they are, but in my RH, l2 show up red.



$ touch is.here
$ ln -s real is.here
$ ln -s fake isnt.here
$ ls --color=auto

I have just done the same, and l2 comes up red

console & xterm

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


Reply to: