Differences between revisions 12 and 16 (spanning 4 versions)
Revision 12 as of 2023-01-25 07:30:48
Size: 822
Comment:
Revision 16 as of 2023-01-30 00:56:07
Size: 1165
Comment:
Deletions are marked like this. Additions are marked like this.
Line 32: Line 32:
 * [[Shell/BuiltinCommands|Builtin Commands]]
Line 33: Line 34:
 * [[Shell/FileDescriptor|File Descriptors]]
Line 34: Line 36:
 * [[Shell/JobControl|Job Control]]
Line 37: Line 40:
 * [[Shell/Quoting|Quoting]]
 * [[Shell/ShellOptions|Shell Options]]
 * [[Shell/ShellVariables|Shell Variables]]
 * [[Shell/Redirection|Redirection]]
Line 38: Line 45:
 * [[Shell/Trap|Traps]]
 * [[Shell/Variables|Variables]]

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)

Dylan's pure sh bible


CategoryRicottone

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