Hitachi

Job Management Partner 1 Version 10 Job Management Partner 1/Advanced Shell Description, User's Guide, Reference, and Operator's Guide


6.2.26 Starting the login shell (exec command)

The exec command starts the login shell during debugging. The login shell is the shell specified in the SHELL shell variable. The abbreviation for the exec command is ex. The following shows the format of the exec command:

exec[ arguments-to-be-passed-to-login-shell]...

If arguments to be passed to the login shell are specified in the argument, the exec command passes the specified arguments to the login shell and then starts the login shell. If the argument is omitted, the exec command starts the login shell.

Notes:
  • If the argument contains an ampersand (&), the command outputs an error message.

  • To use an ampersand (&) for other purposes than background execution, specify \&.

  • There is no limit to the number of arguments.

Example

This example uses the exec command to execute the ls shell command.

(adshdb) exec ls
aaa.txt  bbb.log  bin