Assertion: bash | /r/CapableOf | execute command
Facets:
value: from the file
type: LOCATION
value: from a shell script
type: OTHER
value: unintentionally
type: MANNER
value: from /etc/profile
type: OTHER
value: from ~/.profile
type: LOCATION
value: from a file
type: OTHER
Source sentences:
text: Bash can also read and execute commands from a file, called a shell script.
text: By default, Bash follows the logical chain of directories when performing commands which change the current directory.
text: bash is an sh-compatible command language interpreter that executes commands read from the standard input or from a file.
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 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: The bug Chazelas discovered caused Bash to unintentionally execute commands when the commands are concatenated to the end of function definitions stored in the values of environment variables.
text: When such a file is used as the first non-option argument when invoking Bash, and neither the -c nor -s option is supplied (see Invoking Bash), Bash reads and executes commands from the file, then exits.
text: When an interactive login shell exits, or a non-interactive login shell executes the exit builtin command, Bash reads and executes commands from the file ~/.bash_logout , if it exists.
text: When an interactive shell that is not a login shell is started, Bash reads and executes commands from ~/.bashrc , if that file exists.
text: Bash is an sh-compatible command language interpreter that executes commands read from the standard input or from a file.
text: When Bash starts, it executes the commands in a variety of dot files.
text: Bash can read and execute the commands from a Shell Script.