<agent_handle>.list-jobs <agent_handle>.print-working-directory
Simics Reference Manual  /  3 Commands  /  3.2 Command List  / 

<agent_handle>.print-file

Synopsis

<agent_handle>.print-file [-capture] [-force] "target-file"

Description

Print the contents of a text file to the Simics command line (CLI).

The file contents will only be printed if the contents is determined to be text. The -force flag can be used to print it anyway.

Optionally the -capture flag can be used to hold the output for later, instead of immediately printing it. The captured output is then accessed from the get-captured-output command. Alternatively either run-until-job or wait-for-job, with the -capture flag, can be used.

The target-file must be a readable file on the target system. The path is relative to this agent handle's current working directory, unless it is an absolute path.

Provided By

matic

See Also

<agent_handle>.download
<agent_handle>.list-jobs <agent_handle>.print-working-directory