McIDAS User's Guide
Version 2017.1

[Search Manual] [Table of Contents] [Go to Previous] [Go to Next]


OS

Runs an operating system command.


Format

OS "command


Parameter

"command

operating system command to run


Remarks

The OS command lets you run a Unix operating system command from the McIDAS Text and Command Window. The command should include the correct path, if needed. Do not run a command that expects user input while running, for example, telnet.


See Also

You can use the ! (Exclamation Point) command to run a Unix command.


Examples

OS "ls -l /data/AREA*

This entry runs the Unix ls command to list all file names beginning with AREA in the /data directory.

OS "echo $MCPATH

This command runs the Unix echo command to list the current setting of the MCPATH environment variable.


[Search Manual] [Table of Contents] [Go to Previous] [Go to Next]