User guide
Appendix A
Privileged Exec Mode Commands
SCE 1000 2xGBE Release 2.0.10 User Guide
OL-7117-02 A-81
script print script-file-name
Displays a script file.
Authorization admin
Mode Privileged EXEC
P
ARAMETERS
script-file-name The name of the file containing the script.
E
XAMPLE:
The following example prints the commands captured in script1.txt.
SCE 1000#script print script1.txt
cd log
cd ..
pwd
script stop
SCE 1000#
script run script-file-name [halt]
Runs a script. The halt parameter causes the command to break script on errors.
Authorization admin
Mode Privileged EXEC
P
ARAMETERS
script-file-name The name of the file containing the script.
halt Stops the script running if one of the commands results in an error.
U
SAGE GUIDELINES
• Use this command to run a script that you have previously created using the script
capture command.
E
XAMPLE:
The following example runs the script named script1.txt.
SCE 1000#script run script1.txt
cd log
cd ..
pwd
tffs0:
script stop
SCE 1000#