Re: Desktop problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 2010-08-14 at 19:46 -0700, JD wrote:
> > Why do folks insist on using . files rather than making them
> visible?
> > Makes troubleshooting hell.
> >
> > James McKenzie
> >
> I do not know the history of why they chose dot files AND make them 
> invisible to the shell.

They didn't. Dot files are not invisible to the Shell or indeed to any
other program or script, see below.

> But one thought comes to mind is perhaps to make ls (without -a)
> present a less cluttered view?
> Maybe someone with info on the first bell labs unix version 6 has more
> detailed knowledge of this.

Every directory contains two entries, "." and "..". To stop cluttering
up directory listings, "ls" doesn't list anything with a "." as the
first character in its name (except with the -a option of course). The
fact that certain files and directories would only be listed when
explicitly asked for turned out to appeal to programmers as a way to
keep config information out of sight, even though that wasn't the
original purpose of the dot file convention.

There is absolutely nothing special about dot files except their
treatment by "ls" (though some other file-browsing apps also follow the
convention).

poc

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux