Size: 955
Comment:
|
Size: 1165
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 34: | Line 34: |
* [[Shell/FileDescriptor|File Descriptors]] | |
Line 35: | Line 36: |
* [[Shell/JobControl|Job Control]] | |
Line 38: | Line 40: |
* [[Shell/Quoting|Quoting]] | |
Line 40: | Line 43: |
* [[Shell/Redirection|Redirection]] | |
Line 41: | Line 45: |
* [[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)