GRMON3-UM
June 2019, Version 3.1.0
189 www.cobham.com/gaisler
85. shell - syntax
NAME
shell - Execute a shell command
SYNOPSIS
shell
DESCRIPTION
shell
Execute a command in the host system shell. The grmon shell command is just an alias for the TCL com-
mand exec, wrapped with puts, i.e. its equivalent to puts [exec ...]. For more information see doc-
umentation about the exec command (http://www.tcl.tk/man/tcl8.6/TclCmd/exec.htm).
EXAMPLE
List all files in the current working directory (Linux)
grmon3> shell ls
List all files in the current working directory (Windows)
grmon3> shell dir