|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 Addresses Meltdown and Spectre in macOS - 2018-01-23
- Reading disks from 1988 in 2018 - 2018-01-13
- Apple quickly fixes severe security flaw in macOS - 2017-11-29
- Reverse engineering the macOS High Sierra supplemental update - 2017-10-09
- More related articles