Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

No Format
$GROUPER_HOME/bin/gsh.sh

Read gsh commands from STDIN:

No Format
$GROUPER_HOME/bin/gsh.sh -

Read gsh commands from a script file:

No Format
$GROUPER_HOME/bin/gsh.sh /path/to/your/script.gsh

...

Command

Description

sqlRun(file)

Execute each line of a sql file, just like ant would.  This can run the files generated by registryInitializeSchema()

sqlRun(string)

Executes a single sql statement

:exit

Terminate shell

help()

Display usage informationhistory()

Print commands that have been run

history(N)

Print the last N commands that have been run

last()

Run the last command executed

last(N)

Execute command number N

p(command)

Pretty print results. This command is more useful when GSH_DEVEL is enabled

:quit

Terminate shell

version()

Return version information

...

You can run the loader as a linux service

GrouperShell Variables (BeanShell only)

gsh has several variables that can be set to modify runtime behavior

...