11/3/2023 0 Comments Dot dot dash meaning![]() ![]() As a consequence, more lazy programmers started dropping files into everyone's home directory. Second, and much worse, the idea of a hidden or dot file was created. Actual files beginning with periods are often skipped when they should be counted. A lot of other lazy programmers introduced bugs by making the same simplification. if (strcmp(name, ".") = 0 || strcmp(name, ".") = 0) continue īut hey, it was easy and two things resulted.įirst, a bad precedent was set.This statement was a little shorter than what it should have been, which is: It was in assembler then, but the code in question was equivalent to something like this: When one typed ls, however, these files appeared, so either Ken or Dennis added a simple test to the program. went in during Version 2's rewrite when the file system became hierarchical (it had a very different structure early on). appeared in order to make navigation easier. Long ago, as the design of the Unix file system was being worked out, the entries. It is quite rare for them to be put in the Documents or My Documents subdirectories (they do not contain documents after all).Īs Rob Pike writes on Google+, this was an accidental feature: home/name/.ssh on Linux or C:\Users\name\.ssh on Windows 7 and later). These files are typically found in the user's home directory (i.e. ![]() It is also easier to synchronize configurations between an individual's Windows and Linux/BSD/OSX computers if it is shared in the same location. For example, Cygwin installs the standard set of Unix-like tools like ls, which ignores the Windows hidden flag and only honors the dot file names. Sometimes this adaptation is skipped intentionally to make life easier for people who use Unix-like environments such as Cygwin on their Windows systems. subversion directories on Windows because you have used some programs (specifically, OpenSSH and Subversion) that have been ported to use Windows system APIs rather than POSIX ones, but have not been adjusted for some other Windows conventions. ![]() This makes it more similar to AppData\Roaming and AppData\Local. Meanwhile, many Linux programs are being changed to follow the XDG base directory specification, moving their configuration to ~/.config/ and other data to ~/.cache/ and ~/.local/share/. ~/.cache/ or ~/.plan) They are frequently called dot files.ĭot files could, in a way, be called the traditional Unix equivalent to the AppData directory on Windows. It works anywhere, but its primary use is to hide configuration files in your home directory (i.e. This naming convention comes from Unix-like operating systems (such as Linux or OSX) where it means a hidden file or directory. SuperUser contributor grawity has the answer for us: ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |