|
Size: 822
Comment:
|
Size: 1193
Comment:
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 31: | Line 31: |
| * [[Shell/Alias|Alaises]] | |
| Line 32: | Line 33: |
| * [[Shell/BuiltinCommands|Builtin Commands]] | |
| Line 33: | Line 35: |
| * [[Shell/FileDescriptor|File Descriptors]] | |
| Line 34: | Line 37: |
| * [[Shell/JobControl|Job Control]] | |
| Line 37: | Line 41: |
| * [[Shell/Quoting|Quoting]] * [[Shell/Redirection|Redirection]] * [[Shell/ShellOptions|Shell Options]] * [[Shell/ShellVariables|Shell Variables]] |
|
| Line 38: | Line 46: |
| * [[Shell/Trap|Traps]] * [[Shell/Variables|Variables]] |
Shell
sh(1) is a POSIX compliant shell.
Several distributions of Linux actually use bash(1) or dash(1) to satisfy sh(1). BSD operating systems commonly use tcsh(1).
Example
echo "Hello, world!"
This can be executed like:
sh ./example.sh
Syntax
See also
The shellcheck wiki, the online reference for shellcheck(1)
