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. Justneed 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=autoDo 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