|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.
- Building the XNU kernel on Mac OS X Sierra - 2017-07-13
- Apple showcases macOS High Sierra - 2017-06-05
- Hackintoshes show that Apple should just build a Mac tower - 2017-05-01
- Darwin 0.1 and Rhapsody DR 2 booted - 2017-04-24
- More related articles