On Thu, 2024-12-12 at 09:27 +1100, Stephen Morris wrote:
> Just relative to this, with konsole, which is a bash shell
> apparently, are you saying that when you create a new tab that
> .bashrc is run in the new tab, but .bash_profile is not and is only
> run at the initial console startup?

You can test this for yourself.  Put something extra in it.  Start up a
new console, see if it affects the new console.

e.g. stick into one of them an

 alias grr='echo grr'

And something different into the other one.  You'll either get a
command not found error, or it'll growl back at you.

I can see that each new shell window is affected by the modified
~/.bashrc but not by the modified ~/.bash_profile.  I have to start a
new logon before it the ~/.bash_profile has an effect.

NB:  I'm doing this on Mate, but the principle will be similar with
other consoles.  Of course there could be some that do things their own
way.
 
-- 
 
uname -rsvp
Linux 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
 
Boilerplate:  All unexpected mail to my mailbox is automatically deleted.
I will only get to see the messages that are posted to the mailing list.
 

-- 
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to