Linked by Thom Holwerda on Wed 24th Jun 2015 23:10 UTC
Mac OS X

It is showing hidden files (that have names starting with a dot) when invoked by root and doesn’t show them (as expected) when running as a normal user. This differs from what ls on Linux (the one coming from coreutils) does.

Why does ls behave this way?

Very interesting answer. I love stuff like this.

Share this story

Your Name:

Your Email:

Your Friend's Email:

Please confirm the image:
Captcha