• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: What is a shell script?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What is a shell script?


  • Subject: Re: What is a shell script?
  • From: Graff <email@hidden>
  • Date: Mon, 24 May 2004 19:15:35 -0400

A shell script is a series of commands that you would normally execute on the command line, such as through the Terminal application. You can run a single shell command or a series of them through AppleScipt by using the "do shell script" command. For example:

do shell script "echo 'hello'"

will return the string:

"hello"

Shell commands and scripts are very powerful and shouldn't be used lightly as they often have very few protections against you doing serious damage to your data and your operating system. I would recommend searching on the internet and going to your book store to get some information on how to shell script.

- Ken

On May 24, 2004, at 4:04 PM, Dr. Andrew Brandon wrote:

What is a shell script and how can they be used in AppleScripts?
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.


References: 
 >What is a shell script? (From: "Dr. Andrew Brandon" <email@hidden>)

  • Prev by Date: Re: Indesign CS overriding master page items
  • Next by Date: Re: Setting up a cron job
  • Previous by thread: What is a shell script?
  • Next by thread: Postscript from Quark 6
  • Index(es):
    • Date
    • Thread