• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 14. AppleScript > Scripting the Terminal

14.6. Scripting the Terminal

As Chapter 18 describes, the Terminal application provides a command-line interface to the Unix system running underneath Mac OS X's GUI layers. AppleScript reflects this by offering only one real Terminal-scripting command: do script. If you tell the Terminal application do script some_command, the Terminal acts as if you had invoked some_command by typing it on the command line.

Apple provides an excellent TechNote on the do shell script command, which can be found at http://developer.apple.com/technotes/tn2002/tn2065.html.



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint