Bash Configuration Files: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 12: Line 12:
=Interactive Login Shell=
=Interactive Login Shell=
<font size=-1>
<font size=-1>
/etc/profile
</font>
</font>
=Interactive Non-Login Shell=
=Interactive Non-Login Shell=
<font size=-1>
<font size=-1>

Revision as of 03:55, 22 November 2021

External

Internal

Overview

This article describes how bash executes its startup files. If any of the files exist, but cannot be read, bash reports an error.

Interactive Login Shell

/etc/profile 

Interactive Non-Login Shell

Non-Interactive Shell

Invoked with the name "sh"

Invoked by Remote Shell Daemon

Invoked with Unequal Effective and Real UID/GIDs