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
- Apple prepares macOS for discontinuation of 32-bit app support - 2018-02-03
- 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

Tell a friend
Your full name:
Your email address:
Your friend's email:
Anti-spam measure:

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?