Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 
Table of contents Previous: OLAYBAR Next: PACORB Index

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.


Table of contents Previous: OLAYBAR Next: PACORB Index
 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Office of Programs University Corporation for Atmospheric Research (UCAR)   Unidata is a member of the UCAR Office of Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690