Examples of using UNIX shell commands

To use a UNIX command while you are preparing a mail message:

   the application is in
   ~! which guide
   /usr/local/bin/guide
   !
   the directory /usr/local/bin

This displays the output from the command"

   which guide

To include the output from a UNIX command in the mail message:

   the IP address for my Mac is
   ~<! grep jazz /etc/hosts
   " grep jazz /etc/hosts" 1/30
    Alternatively you can call it as jazz.ucs

This inserts the output from the command:

   grep jazz /etc/hosts

into the mail message at this point. Notice that command is echoed to indicate that it has been carried out, but that the command output is not displayed.


[Home] [Index]