All commands
sh
Topic: Shell and scripts
Program: sh
Starts a new shell for a script.
Package: script
Usage
sh [-c COMMANDS [NAME [ARG]...]] [FILE [ARG]...]
Description
Start a new shell that runs FILE as a script, or the COMMANDS given after -c. The new shell sees only exported variables, and what it changes (variables, cd) stays there. ARGs become $1, $2 ...; after -c the first one is $0.
Options in the simulator
-
-c take the commands from the first argument instead of a file
18 more options of the real program, not in the simulator yet
-
-s not in the simulator yet Explanation to come
-
-a not in the simulator yet Explanation to come
-
-C not in the simulator yet Explanation to come
-
-e not in the simulator yet Explanation to come
-
-f not in the simulator yet Explanation to come
-
-n not in the simulator yet Explanation to come
-
-u not in the simulator yet Explanation to come
-
-v not in the simulator yet Explanation to come
-
-x not in the simulator yet Explanation to come
-
-I not in the simulator yet Explanation to come
-
-i not in the simulator yet Explanation to come
-
-m not in the simulator yet Explanation to come
-
-q not in the simulator yet Explanation to come
-
-V not in the simulator yet Explanation to come
-
-E not in the simulator yet Explanation to come
-
-b not in the simulator yet Explanation to come
-
-l not in the simulator yet Explanation to come
-
-o needs a value not in the simulator yet Explanation to come
Where you learn it
No lesson yet.
All commands