1258
Comment:
|
1414
|
Deletions are marked like this. | Additions are marked like this. |
Line 4: | Line 4: |
---- | |
Line 15: | Line 15: |
==== Login Shell ==== | <<Include(/LoginShell, "Login Shell", 4, from="^----$")>> |
Line 18: | Line 18: |
===== Command Line ===== | |
Line 19: | Line 20: |
===== Completion ===== ===== History ===== ===== Job Control ===== |
|
Line 22: | Line 26: |
==== Restricted Shell ==== |
Contents
1. Invocation Modes
Mode |
Bash |
POSIX Shell |
-bash [options] |
-sh |
|
sh -l |
||
sh --login |
||
bash -c 'command' [options] |
sh [options] -c 'command' |
|
Interactive Shell |
bash -i |
sh -i |
Shell Script |
#!/bin/bash [option] |
#!/bin/sh [option] |
Command File |
bash [options] file [args] |
sh [options] file [args] |
Command Stream |
bash [options] -s [SHELL [ARGS]] |
sh [options] -s [SHELL [ARGS]] |
1.1. Login Shell
- Login Shell
1.2. Command String
1.3. Interactive Shell
1.3.1. Command Line
1.3.2. Prompting
1.3.3. Completion
1.3.4. History
1.3.5. Job Control
1.4. Shell Script
1.5. Command File
1.6. Command Stream
1.7. Restricted Shell
- Bash invocation modes.