What happens the first time BASH is run?

Tim Largy tim.largy@gmail.com
Fri Oct 13 23:52:00 GMT 2006


On 10/13/06, Tim Largy <tim.largy@gmail.com> wrote:
> When running BASH for the first time after installing Cygwin, the
> user's home directory is created, and .bashrc and other dotfiles are
> copied into it. Where is this behavior controlled? Is it compiled into
> BASH? If that is the case, what other scripts does BASH call upon to
> set up the user's home directory?
>
> Tim
>

Answering my own question: the existence check for the  home
directory, as well as it's creation, takes place in /etc/profile. How
I forgot this I do not know as I spotted it yesterday.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list