! subcommand

The ! subcommand serves as a shell escape and provides a way to run UNIX commands without leaving the kdb command. This subcommand is only available in the kdb command.

Note: If output logging is enabled through the logfile and loglevel kdb command options, the output produced by the ! subcommand is not included in the log file.

Format

! [command]

Parameters

Item Description
command Passes a command verbatim to a newly spawned UNIX shell for running.

Other

No aliases.

Examples

The following is an example of how to use the ! subcommand:

(0)> ! ls
...            .dtprofile     bin            lib            sbin
.:             .mozilla       dev            lost+found     tftpboot
.TTauthority   .sh_history    dfs            lpp            tmp
.Xauthority    .wmrc          etc            mnt            unix
.bash_history  :              gsa            opt            usr
.dbxhist       TT_DB          home           proc           var
.dt            audit          krb5           project
(0)>