Open topic with navigation

TIBCO® Enterprise Administrator 2.4.2

# The Script File Command

A script file is equivalent to a batch file where you can list all the commands you want to execute sequentially.

Before using the file, ensure that you have populated it with the commands you want to use. Assume that the content of the script file, script.txt is:

- `'`ls``

- ``pwd``

- ``history'``

The following code snippet shows the usage of the command:

    ssh -p2222 admin@localhost scriptmode < script.txt
    Output

    ls
    TEA

    pwd
    /
    history
    0 ls
    1 pwd
    2 history

Did you find this helpful?

Yes No
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO® Enterprise Administrator

Copyright © 1996-2025. Cloud Software Group, Inc. All Rights Reserved.