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: Plus Next: Question Mark Index

! (Exclamation Point)

Sends a command to the Unix shell.


Format

! command


Parameter

command

Unix command to run; spaces between the exclamation point and the Unix command are optional


Remarks

This command lets you run a Unix command from the McIDAS-X Text and Command Window. The Unix command should include the correct path, if needed. The Unix command should not invoke a program, such as Telnet, that expects a user input while running.

Once you type the exclamation point (!), the case mode automatically changes to the opposite mode. For example, if you typed the previous command in upper case, all characters entered after the exclamation point (!) appears in lowercase unless you use the Shift or Caps Lock key.

This command performs the same function as the OS command, but differs in the following ways:


See Also

The OS command also sends commands to the Unix shell.


Examples

! ls -1 /data/AREA*

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

! echo $MCPATH

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


Table of contents Previous: Plus Next: Question Mark 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