Changes

Linux Remote Shell Notes

550 bytes added, 17:04, 10 February 2019
The following lines were added (+) and removed (-):
== login and non-login shell ==The .bash_profile is executed for login shells, while .bashrc is executed for interactive non-login shells.When you login (type username and password) via console, either sitting at the machine, or remotely via ssh: .bash_profile is executed prior to the initial command prompt.When you are logged into your machine already and open xterm in your desktop environment then .bashrc is executed prior to seeing a prompt.  The .bashrc is also run when you start a new bash instance by typing /bin/bash in a terminal.
Bureaucrat, administrator
16,192
edits