Sh Command; G.2.15 Sh Command - DEC Personal DECstation 5000 User Manual

Hide thumbs Also See for Personal DECstation 5000:
Table of Contents

Advertisement

Table G–2 (Cont.) Environment Variables
ENVIRONMENT
VARIABLE
DESCRIPTION
more
Sets the way in which the screen scrolls lines of text.
Set the more variable to 0 to have text scroll to the end before stopping.
Set the more variable to a number other than zero to have scrolling pause
after that number of lines has been displayed.
osconsole
Contains the slot numbers of the console drivers. If a TTY driver from slot x
serves as the console, osconsole is set to x. If a CRT driver from slot y and a
kbd driver from slot z serve as the console, osconsole is set to y,z.
Although the environment variable display includes the osconsole setting, you
cannot set this variable. The system automatically sets the osconsole value.
testaction
Specifies the type of power-up self-test the system runs.
Specify q to run a quick test when the power-up self-test runs.
Specify t to run a thorough test when the power-up self-test runs.
#
Specifies the slot number of the module that contains the current script. If no
script is active, the system specifies the base system module, which uses slot
number 3.
Although the environment variable display includes the # setting, you cannot
set this variable.

G.2.15 sh Command

Use the sh command to run a script.
The sh command format is
sh [-b] [-e] [ -l] [-v] [-S] [slot-number/script] [arg...]
Keep the following points in mind about the sh command:
Include the optional -b parameter to execute the script directly, instead of
through a subshell.
Include the optional -e parameter to stop the script if an error occurs.
Include the optional -1 parameter to have the script loop until you press
Ctrl-c.
Include the optional -v parameter to echo the script to the console as the
test runs.
Console Commands
G.2 Summary of Console Commands
Console Commands G–13

Advertisement

Table of Contents
loading

Table of Contents