Boyd Stephen Smith Jr. wrote:
> On Wednesday 19 November 2008, tyler <[EMAIL PROTECTED]> wrote
> about 'Re: Which files do what: .bashrc and friends':
>>I believe .profile and .bash_profile are synonyms, so you'd only use one
>>or the other.
>
> .pro
>From the INVOCATION section of the Bash man page:
When bash is invoked as an interactive login shell, or as a
non-interactive shell with the --login option, it first reads and
executes commands from the file /etc/profile, if that file exists.
After reading that file, i
Mike McCarty <[EMAIL PROTECTED]>:
> Dotan Cohen wrote:
> >
> > .bashrc
>
> Run once for each interactive shell, after .profile
... if called by .profile or .bash_profile.
A long time ago, this was automatic (a la ksh and ENV; if ENV =
~/.kshrc, then ~/.kshrc was run on login shell invocation)
Dotan Cohen a écrit :
Thanks in advance. If there are any good docs that explain this, I'd
love to see them. I have not been able to google anything recent that
is relevant to Debian.
Quick'n dirty solution :
Another way to know, even if it does not cover all cases, is to put the
following li
Boyd Stephen Smith Jr. (2008-11-19 14:37 -0600) wrote:
>>1) Is a login shell run when the user logs onto KDE (even though he
>>does not see a konsole window)?
>
> Nope a login shell is when bash is executed with the -l option, or having
> an argv[0] starting with '-'.
If K Display Manager (kdm)
"Boyd Stephen Smith Jr." <[EMAIL PROTECTED]> writes:
> On Wednesday 19 November 2008, "Dotan Cohen" <[EMAIL PROTECTED]> wrote about
> 'Re: Which files do
> what: .bashrc and friends':
>>1) Is a login shell run when the user logs
On Wednesday 19 November 2008, "Dotan Cohen" <[EMAIL PROTECTED]> wrote about
'Re: Which files do
what: .bashrc and friends':
>1) Is a login shell run when the user logs onto KDE (even though he
>does not see a konsole window)?
Nope a login shell is when bash is
On Wednesday 19 November 2008, tyler <[EMAIL PROTECTED]> wrote
about 'Re: Which files do what: .bashrc and friends':
>I believe .profile and .bash_profile are synonyms, so you'd only use one
>or the other.
.profile is only used by bash when it cannot find .bash_profi
Dotan Cohen wrote:
On a Debian-based system running KDE 3.5.10 I see several files that
are used when logging in / starting a Konsole:
.profile
Run once upon login.
.bash_history
List of previous commands for recall/edit/re execution
.bash_logout
Run once upon logout
.bash_profile
"Dotan Cohen" <[EMAIL PROTECTED]> writes:
> 2008/11/19 tyler <[EMAIL PROTECTED]>:
>> "Dotan Cohen" <[EMAIL PROTECTED]> writes:
>>
>>> On a Debian-based system running KDE 3.5.10 I see several files that
>>> are used when logging in / starting a Konsole:
>>>
>>> .profile
>>> .bash_history
>>> .bash
2008/11/19 tyler <[EMAIL PROTECTED]>:
> "Dotan Cohen" <[EMAIL PROTECTED]> writes:
>
>> On a Debian-based system running KDE 3.5.10 I see several files that
>> are used when logging in / starting a Konsole:
>>
>> .profile
>> .bash_history
>> .bash_logout
>> .bash_profile
>> .bashrc
>>
>> Thanks in a
"Dotan Cohen" <[EMAIL PROTECTED]> writes:
> On a Debian-based system running KDE 3.5.10 I see several files that
> are used when logging in / starting a Konsole:
>
> .profile
> .bash_history
> .bash_logout
> .bash_profile
> .bashrc
>
> Thanks in advance. If there are any good docs that explain thi
12 matches
Mail list logo