|On OS X, why does sudo ls show hidden files?|
|By Thom Holwerda on 2015-06-24 23:10:24|
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.
Very interesting answer. I love stuff like this.
- Apple releases public beta of macOS Mojave - 2018-06-26
- The future of the Mac comes from iOS apps - 2018-06-07
- Apple deprecates OpenGL, OpenCL in macOS Mojave - 2018-06-05
- Apple will let developers port iOS apps to macOS in 2019 - 2018-06-04
- More related articles