help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Changing user login shell to new bash release


From: Kerin Millar
Subject: Re: Changing user login shell to new bash release
Date: Wed, 13 Oct 2021 03:39:59 +0100

On Wed, 13 Oct 2021 04:34:46 +0200
Khan Smith <khansmith@mail.com> wrote:

> 
>    If I source my scripts (my scripts having #!/usr/local/bin/bash) from
>    my .bashrc, would that
>    be good enough?  I only need version 5 for some small things in one of
>    my scripts.

No, it wouldn't. The documented behaviour of source is to "read and execute 
commands from FILENAME in the current shell". Anyway, the procedure that you 
described in the initial post is valid.

-- 
Kerin Millar



reply via email to

[Prev in Thread] Current Thread [Next in Thread]