Linux Commands Helper
💬 Your AI-powered Linux assistant
sh Command - Bourne Shell
sh is the original Bourne shell, a command-line interpreter for Unix and Unix-like systems. It is used to execute shell scripts and commands.
Syntax
sh [options] [script-file]
Examples
sh
Start a new interactive sh shell session.
sh myscript.sh
Run a shell script using sh.
Notes
- sh is the standard shell for scripting on Unix systems.
- Many modern systems link
sh
tobash
ordash
. - Configuration files include
~/.profile
.