4.5 Using the Pipe Command 4.7 Command-line Keyboard Shortcuts
Simics User's Guide  /  II Feature Overview  /  4 The Command Line Interface  / 

4.6 Running Shell Commands

The ! Simics command can be used to run command line commands. It will take everything after the ! sign and run it in a command interpreter (the current shell, on Linux, and cmd.exe, on Windows). For example:

Windows
simics> !dir c:\

This will run dir c:\ as if typed at the cmd.exe prompt and show the result in the Simics console.

Linux
simics> !uname -a

This will run uname -a using the current shell and show the result in the Simics console.

4.5 Using the Pipe Command 4.7 Command-line Keyboard Shortcuts