Differences between revisions 21 and 22
Revision 21 as of 2025-12-19 20:19:47
Size: 1292
Comment: Pruning dead links
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 31: Line 31:
All [[Linux]] and [[BSD]] distributions, as well as [[MacOS]], have `sh(1)` installed. All [[Linux]] and [[BSD]] distributions, 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).


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)

Dylan's pure sh bible


CategoryRicottone

Shell (last edited 2025-12-19 21:36:37 by DominicRicottone)