Size: 1193
Comment:
|
← Revision 20 as of 2023-04-06 16:03:50 ⇥
Size: 1317
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 24: | Line 24: |
---- == Installation == All [[Linux]] and [[BSD]] distributions, as well as [[MacOS]], have `sh(1)` installed. |
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).
Contents
Example
echo "Hello, world!"
This can be executed like:
sh ./example.sh
Installation
All Linux and BSD distributions, as well as MacOS, have sh(1) installed.
Syntax
See also
The shellcheck wiki, the online reference for shellcheck(1)