Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #18897

Re: dot files convention

From "J.O. Aho" <user@example.net>
Newsgroups comp.lang.php
Subject Re: dot files convention
Date 2022-04-01 16:06 +0200
Message-ID <jaof6qF40seU1@mid.individual.net> (permalink)
References <t26tqp$64q$1@gioia.aioe.org>

Show all headers | View raw


On 01/04/2022 15.14, alex wrote:
> https://www.freecodecamp.org/news/dotfiles-what-is-a-dot-file-and-how-to-create-it-in-mac-and-linux/ 
> 
> 
> "Many computer software programs store their configuration settings in 
> plain, text-based files or directories.
> 
> Dotfiles are configuration files for various programs, and they help 
> those programs manage their functionality.
> 
> What sets them apart from regular files and directories is their prefix.
> 
> Dotfiles are named that way because each file and directory starts with 
> a dot (.)"
> 
> But then why don't files like composer.json, Dockerfile, 
> phpdoc.dist.xml, phpunit.xml.dist, etc, do not follow this convention?
> Because they don't start with a dot (.composer.json, .Dockerfile, etc)?

Files starting on a full stop/dot are by default "hidden" files when it 
comes to unix and unix like operating systems.

When you run "ls ~/" you will not see your configuration files, but if 
you want to see them you can run "ls -a ~/". The configuration files are 
hidden so that you won't have a lot of difficulties to find those files 
that ain't your configurations files. These configuration files are the 
ones you want to always use each time you run the application they 
belongs to.

You use a hidden config when you kind of only once configure the 
application and want to use the same config every time.

You use a visible config when you need to use different configurations 
every time you run the application.

-- 

  //Aho

Back to comp.lang.php | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

dot files convention alex <1j9448a02@lnx159sneakemail.com.invalid> - 2022-04-01 15:14 +0200
  Re: dot files convention Lew Pitcher <lew.pitcher@digitalfreehold.ca> - 2022-04-01 13:37 +0000
  Re: dot files convention "J.O. Aho" <user@example.net> - 2022-04-01 16:06 +0200
    Re: dot files convention alex <1j9448a02@lnx159sneakemail.com.invalid> - 2022-04-01 17:19 +0200
      Re: dot files convention Lew Pitcher <lew.pitcher@digitalfreehold.ca> - 2022-04-01 15:36 +0000
      Re: dot files convention "J.O. Aho" <user@example.net> - 2022-04-02 10:41 +0200
        Re: dot files convention alex <1j9448a02@lnx159sneakemail.com.invalid> - 2022-04-02 10:57 +0200
    Re: dot files convention alex <1j9448a02@lnx159sneakemail.com.invalid> - 2022-04-01 18:01 +0200

csiph-web