|
Size: 425
Comment:
|
← Revision 22 as of 2025-12-19 21:36:37 ⇥
Size: 1270
Comment: Pruning dead links
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 29: | Line 29: |
| == Installation == All [[Linux]] and [[BSD]] distributions, have `sh(1)` installed. ---- |
|
| Line 31: | Line 39: |
| * [[Shell/Alias|Alaises]] * [[Shell/Arithmetic|Arithmetic]] * [[Shell/BuiltinCommands|Builtin Commands]] * [[Shell/Expansion|Expansion]] * [[Shell/FileDescriptor|File Descriptors]] * [[Shell/Function|Functions]] * [[Shell/JobControl|Job Control]] * [[Shell/Logic|Logic]] * [[Shell/Looping|Looping]] * [[Shell/Pipeline|Pipelines]] * [[Shell/Quoting|Quoting]] * [[Shell/Redirection|Redirection]] * [[Shell/ShellOptions|Shell Options]] * [[Shell/ShellVariables|Shell Variables]] |
|
| Line 32: | Line 54: |
| * [[Shell/Variables|Variables]] ---- == 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).
Contents
Example
echo "Hello, world!"
This can be executed like:
sh ./example.sh
Installation
All Linux and BSD distributions, have sh(1) installed.
Syntax
See also
The shellcheck wiki, the online reference for shellcheck(1)
