Shell script (.sh)

A shell script is a text file containing commands for a shell such as sh or Bash. A shebang can tell the OS which interpreter to use.

Using Shell script (.sh) in Docbench

Inspect and edit the script as source text and choose line endings before downloading.

Open example in the editor

Example

#!/bin/sh
printf '%s\n' 'Workshop'

Shell script (.sh) reference