Differences between revisions 16 and 19 (spanning 3 versions)
Revision 16 as of 2023-01-30 00:56:07
Size: 1165
Comment:
Revision 19 as of 2023-04-06 16:03:36
Size: 1294
Comment:
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]]
Line 41: Line 50:
 * [[Shell/Redirection|Redirection]]
Line 43: Line 53:
 * [[Shell/Redirection|Redirection]]

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)