Run a Host Command

Using the Mobile Terminal, you can run a host command directly from the Enterprise Manager Mobile application.

The Mobile Terminal lets you type operating system commands against one host and immediately view the results. This lets you perform administrative command line operations on the host within the context of Enterprise Manager.

Note:

The Mobile Terminal is a non-interactive terminal that sends a single request and waits for the response. The request blocks until it has finished or timed out, then the response is returned.

To access the Mobile Terminal:

  1. Navigate to the desired host target's Details screen.
  2. Tap >_ at the bottom of the screen. The Execute Command screen displays listing available host login options.
  3. Tap on one of the following options:
    • New Single-user Credentials: You are prompted for a user name and password. This is a single-use credential created by the Enterprise Manager Mobile user to access the terminal. This credential does not persist once the terminal session has ended.
    • Preferred Credentials: This is a Normal Host Credential or a Privileged Host Credential. Preferred Credentials are created and/or assigned by an administrator from the Enterprise Manager desktop console. If defined, tapping on a Preferred Credential logs you into the terminal without having to specify user name and password.
    • Named Credentials: A Named Credential is created by an administrator from the Enterprise Manager console. If defined, tapping on a Named Credential logs you into the terminal without having to specify login credentials.
    The Mobile Terminal displays.
    Image shows the Mobile Terminal without commands.

  4. Enter the desired command and tap Return from your mobile device's keyboard.

Terminal Settings

You can change the terminal font size and connection timeout from the Terminal Settings screen. To access Terminal Settings, tap on the gear icon located in the toolbar at the top of the screen.

Saving Commands

For convenience, the Mobile Terminal allows you to save frequently used commands. To save a command:

  1. Tap on the star icon in the toolbar at the top of the screen. The Saved Commands screen displays.
  2. Tap the add (+) at the top right of the screen. The New Command screen displays.
  3. Enter the command and tap Save. The Save Commands screen displays. Your newly defined command appears in the My Commands list. Swipe left on a saved command to edit or delete the command.

Copying Terminal Output

You can copy the terminal output (buffer) into the device clipboard by tapping the copy icon in the toolbar (shown in the following image). This allows you to copy the text from the terminal and paste the text into another application, such as email.


Image shows the copy icon highlighted and as well as the copy confirmation.