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...
]
When you type 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 -l 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.
Include the optional -S parameter to suppress any error
messages if the script is not found.
To run a specific script, include the optional
slot_number
/
script
parameter.
Replace
slot_number
with the slot number of the
module that has the script you want to run.
Replace
script
with the name of the script you want to
run.
The use of any additional arguments depends on the
particular script you specified in the sh command.
You can also run a script by typing
slot_number
/
script
.
Replace
slot_number
with the slot number of the module
that contains the script you want to run.
Replace
script
with the name of the script you want to run.
For example, to run the thorough power-up self test script for a
SCSI controller and drives in slot 2, type
sh 2/pst-t
and press
Return.
Console Commands
C–27
Summary of Contents for DECstation 5000/100 Series
Page 20: ......
Page 24: ......
Page 36: ......
Page 55: ...LJ 02972 TI0 MLO 010159 Figure 2 10 System Boot ROM Switches Service Operations 2 19...
Page 140: ...LJ 02971 TI0 MLO 010159 Figure 5 7 50 MHz R4000 based CPU module 5 12 Base System FRUs...
Page 151: ...WS33M076 Figure 5 14 Removing a memory module Base System FRUs 5 23...
Page 153: ...WS33M075 Figure 5 15 Installing a memory module Base System FRUs 5 25...
Page 164: ......
Page 206: ......
Page 356: ......
Page 388: ......