News for hackers. Stuff that matters.
Re:Show HN: boxxy – Control where Linux programs put files, ... by superluserdo on Thursday February 09, 2023 @08:46PM (#34734579)
To be pedantic, if we're going to cite Unix history, then technically there is no such thing as a "hidden" file. As I understand, the original implementation of tools like ls would not show the current directory "." in the listing. The quickest way of doing this in C was checking whether dentry.name[0] == '.'

This also had the side effect of hiding entries that had names beginning with ".", and over time an implementation bug/quirk became accepted behaviour, and was post-hoc rationalised as "hidden" files.

Re:Show HN: boxxy – Control where Linux programs put files, ... by xolox on Friday February 10, 2023 @08:27AM (#34739348)
Who cares how the feature of hidden files came to be, when it has been what it is now for so many years?