The following operations can be performed on "batch":
Use this command to read the contents of a file and execute each line as a separate CLI command. Each command in the file must be on a separate line. Lines starting with # are considered comments.
batch -fileName <input_filename> [-outfile <output_filename>] [-ntimes <positive_integer>]
The name of the batch file.
The name of the file where the executed batch file will write its output. The default is standard output.
The number of times the batch file will be executed.
Default value: 1
Minimum value: 0
batch -f cmds.txt