<A HREF="manual_c.htm"><img align=center src="contents.gif" ALT="Contents"></A> Up Previous Next

Shell escape :![<command>]


A :!<cmd> command can be used to execute the system command <cmd> without leaving the Hugs interpreter. For example, :!ls (or :!dir on DOS machines) can be used to list the contents of the current directory. For convenience, the :! command can be abbreviated to a single ! character.

The :! command, without any arguments, starts a new shell:

Most shells provide an exit command to terminate the shell and return to Hugs.