Thanks for the pointers.  Now it is as clear as milk.  I added echo
statements to:
/etc/profile
/etc/bashrc
~/.bashrc
~/.bash_login
~/.bash_profile

ssh myLogin@thatSystem
Last login: Wed Jun 30 15:35:44 2021 from mySystem
/etc/profile
/etc/bashrc
/data/kens/.bash_profile
/data/kens/.bashrc
/etc/bashrc

Now to remove the echo statements.

Ken, who is even more confused, but better informed about the login process.

On Wed, Jun 30, 2021 at 9:00 AM Rich Shepard <[email protected]>
wrote:

> On Wed, 30 Jun 2021, Rich Shepard wrote:
>
> > Here's an even simpler one:
> > <https://www.stefaanlippens.net/bashrc_and_others/>
>
> More, from an old StackExchange thread:
>
> "A shell is the generic name for any program that gives you a
> text-interface
> to interact with the computer. You type a command and the output is shown
> on
> screen.
>
> "Many shells have scripting abilities: Put multiple commands in a script
> and
> the shell executes them as if they were typed from the keyboard. Most
> shells
> offer additional programming constructs that extend the scripting feature
> into a programming language.
>
> "On most Unix/Linux systems multiple shells are available: bash, csh, ksh,
> sh, tcsh, zsh just to name a few. They differ in the various options they
> give the user to manipulate the commands and in the complexity and
> capabilities of the scripting language.
>
> "Interactive: As the term implies: Interactive means that the commands are
> run with user-interaction from keyboard. E.g. the shell can prompt the user
> to enter input.
>
> "Non-interactive: the shell is probably run from an automated process so it
> can't assume it can request input or that someone will see the output.
> E.g.,
> maybe it is best to write output to a log file.
>
> "Login: Means that the shell is run as part of the login of the user to the
> system. Typically used to do any configuration that a user needs/wants to
> establish his work environment.
>
> "Non-login: Any other shell run by the user after logging on, or which is
> run by any automated process which is not coupled to a logged in user."
>

Reply via email to