Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I'm guessing ls which colors; perhaps keychain (very colorful output).

I see less of the license stuff these days but no doubt there's a few around.



On Red Hat based systems, ls is an alias for ls --color=auto which means that colors are used only on terminals, not pipes or files.


And no one should ever be using ls in a shell script anyway. Shell globbing and find are the proper tools.


Debian has this as well. I do "unalias -a" whenever I log into an account I haven't configured to my liking yet (I want no ls coloring, but I do want a bash prompt in boldface).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: