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

<agent_handle>.list-files

Synopsis

<agent_handle>.list-files [-capture] ["target-dir"]

Description

List the contents of a directory on the target system that is associated with this agent_handle object.

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-dir argument may be a path relative to the current working directory of this agent handle, or an absolute path. Without argument, the current working directory of this agent handle will be used. If the directory does not exist on the target system, this command will fail.

Provided By

matic

See Also

<agent_handle>.change-directory, <agent_handle>.print-working-directory
<agent_handle>.info <agent_handle>.list-jobs