
10.6 Console Commands
10.6.13 restart
>>restart
The restart command attempts to restart the worksystem software. This
command relies on a restart facility that you must enable in the worksystem
software.
10.6.14 script
>>script scriptname
The script command allows you to write a short temporary script at the system
console. A script is a miniprogram. After you write the script, you can run it
with the sh command, or you can type the name (
scriptname
) of the script by
itself at the console prompt to execute the script.
To write a script, type
script
followed by a name for the script and press
Return. Then write the script line by line. When you are done, go to a new
line and press Return.
10.6.15 setenv
>>setenv env value
The setenv command sets the value of an environmental variable. You must
enclose the command in double quotation marks if
value
contains blank spaces.
See Section 10.7.
10.6.16 sh
>>sh [OPTIONS] [#/scriptname]
[argument...]
The sh, or shell, command activates, or runs, a script. Replace
#
with the slot
number of the module that contains the script. Options are:
-e
Exit on error.
-b
Branch to script.
-v
Verbose; echo to console.
-S
Suppress script-not-found errors.
-l
Execute in a loop. (This option is the letter ‘‘el,’’ not the number
one.)
Using the Console Commands 10–21
Содержание 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...