The UCC shell

Introduction

If you want to run a larger number of UCC commands, the overhead of starting the Java VM or checking the registry may become annoying. For this scenario, UCC offers a "shell" that allows the user to enter UCC commands interactively.

It is usually started by

ucc shell

NOTE Due to the limitations of the current Java VM, command-line editing in the shell is very limited (and depends on the operating system).

If you want to process a list of commands from a file instead of typing them, you can start the shell like this

ucc shell -f commandsfile

or on Unix you can use the redirection features of the shell

ucc shell < commandsfile

Examples

Delete all your jobs

On Unix you can combine the "list-jobs" and "wsrf destroy" commands with the help of the "sed" utility (use at your own risk):

ucc list-jobs | sed s/https/"wsrf d https"/ > joblist
ucc shell -f joblist