Re:Show HN: boxxy – Control where Linux programs put files, ...
by chungy on Thursday February 09, 2023 @07:31PM
(#34733881)
A hidden file, even. Stop using "ls -A" and you'll be fine.
[ Parent
| on HN ]
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.