
10.6 Console Commands
If you specify a script name for the
scriptname
option, the script is used as the
input. Otherwise, what you type at the console is the input, and a subshell is
created. When you run a shell script, environmental variable 0 is set to the
script name, 1 is set to the first argument in the script, 2 is set to the second
argument, and so on.
The -e option directs the shell to exit when an error occurs. Normally, the
shell ignores errors. The -b option executes the script specified by
scriptname
instead of creating a subshell. The -v option causes the script to be echoed to
the console when it is executed; the default setting is no echo. The -S option
suppresses any error message if the script is not found and causes the sh
command to return a status that indicates success. The -1 option causes a
script to be executed continuously until a system reset occurs or you press
Ctrl-c.
10.6.17 t
>>t [OPTIONS]
#/testname
[argument...]
The t, or test, command runs module tests. Specify a test with
#/testname
,
where
#
is the slot number, and
testname
is a module-specific test. Option is:
-l
Execute in a loop
The -l option makes the test run continuously until a system reset occurs or
you press Ctrl-c.
If the t command is part of a script, the system console displays
#/testname
as
each test runs.
To display the tests and test formats for a specific module, type
t
#/
?
, where
#
is the slot number of the module.
Type
test
to run the script that performs a thorough test of the entire system.
Typing
test
is a shorthand way of typing
sh 3/test
. If you type
sh -l 3/test
,
the test runs continuously.
10.6.18 unsetenv
>>unsetenv env
The unsetenv command removes a standard environmental variable during
the current session. When the system is reset, the values of the standard
environmental variables revert to their previously set values.
When you enter the command, replace
variable
with the name of the
environmental variable that you want to remove (see Section 10.7).
10–22 Using the Console Commands
Содержание 5000/260
Страница 1: ...Order Number EK 4MMAX OP A01 DECstation 5000 Model 260 Operator s Guide...
Страница 14: ...Part I Introducing Your Workstation...
Страница 64: ...Part II External Additions to Your Workstation...
Страница 113: ...Part III Internal Parts and Additions to Your Workstation...
Страница 122: ...8 4 Using the Antistatic Wrist Strap Figure 8 3 Using an antistatic wrist strap MLO 010285 Inside the System Unit 8 9...
Страница 147: ...Part IV Managing Your Workstation...
Страница 192: ...Part V Appendixes...