Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
emmelaich
on May 25, 2012
|
parent
|
context
|
favorite
| on:
Cronic - A cure for Cron's chronic email problem
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.
ciupicri
on May 25, 2012
[–]
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.
ajross
on May 25, 2012
|
parent
|
next
[–]
And no one should ever be using ls in a shell script anyway. Shell globbing and find are the proper tools.
_swa8
on May 25, 2012
|
parent
|
prev
[–]
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:
I see less of the license stuff these days but no doubt there's a few around.