www. O S N E W S .com
News Features Interviews
BlogContact Editorials

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.

Why does ls behave this way?

Very interesting answer. I love stuff like this.

29  Comments - Printer friendly - Related stories
Recent related stories
- Reverse engineering the macOS High Sierra supplemental update - 2017-10-09
- Apple open-sourced iOS and macOS kernel for ARM - 2017-10-02
- Apple releases macOS High Sierra - 2017-09-26
- Apple sets release dates for macOS High Sierra, iOS 11 - 2017-09-12
- "We need to document macOS" - 2017-08-13
- More related articles
 

Tell a friend
Your full name:
Your email address:
Your friend's email:
Anti-spam measure:
5+2=

News Features Interviews
BlogContact Editorials


WAP site - RSS feed
© OSNews LLC 1997-2007. All Rights Reserved.
The readers' comments are owned and a responsibility of whoever posted them.
Prefer the desktop version of OSNews?