Assertion: bash | /r/HasProperty | invoked as non-interactive shell
Facets:
value: with the --login option
type: OTHER
value: with the name sh
type: OTHER
Source sentences:
text: When bash is invoked as an interactive login shell, or as a non-interactive shell with the --login option, it first reads and executes commands from the file /etc/profile, if that file exists.
text: When invoked as an interactive shell with the name sh , Bash looks for the variable ENV , expands its value if it is defined, and uses the expanded value as the name of a file to read and execute.
text: When invoked as an interactive login shell, or a non-interactive shell with the --login option, it first attempts to read and execute commands from /etc/profile and ~/.profile, in that order.
text: When Bash is invoked as an interactive login shell, or as a non-interactive shell with the --login option, it first reads and executes commands from the file /etc/profile , if that file exists.