bash

From RaySoft

bash is an sh-compatible command language interpreter that executes commands read from the standard input or from a file. bash also incorporates useful features from the Korn and C shells (ksh and csh).[1]

Documentation

Syntax

bash [PARAMETER ...] [FILE]

Parameters

-c STRING
Read and execute commands from the first non-option argument STRING, then exit. If there are arguments after the STRING, the first argument is assigned to $0 and any remaining arguments are assigned to the positional parameters. The assignment to $0 sets the name of the shell, which is used in warning and error messages.[2]
-i
Force the shell to run interactively.[2]
-l, --login
Make this shell act as if it had been directly invoked by login. When the shell is interactive, this is equivalent to starting a login shell with exec -l bash. When the shell is not interactive, the login shell startup files will be executed. exec bash -l will replace the current shell with a Bash login shell.[2]
-r, --restricted
Make the shell a restricted shell.[2]
--version
Show version information for this instance of Bash on the standard output and exit successfully.[2]

References