Size: 423
Comment:
|
Size: 755
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 31: | Line 31: |
* [[Sh/Tests|Tests]] | * [[Shell/Arithmetic|Arithmetic]] * [[Shell/Logic|Logic]] * [[Shell/Looping|Looping]] * [[Shell/Pipeline|Pipelines]] * [[Shell/Test|Tests]] ---- == See also == [[https://www.shellcheck.net/wiki/|The shellcheck wiki]], the online reference for `shellcheck(1)` [[https://github.com/dylanaraps/pure-sh-bible|Dylan's pure sh bible]] |
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)