• 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
Two line Do Shell Script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Two line Do Shell Script


  • Subject: Two line Do Shell Script
  • From: "Alatorre, Michael" <email@hidden>
  • Date: Thu, 25 Jul 2002 13:20:01 -0700

My UNIX/scripting knowledge is holding me back on this one. I'm attempting
to automate the installation process of Cisco's VPN client for OS X (using
their install shell script), copying our customized profile file and GUI app
over, and doing restart. Everything but running that shell script I can
AppleScript.

When you do this manually it requires opening a Terminal session and
entering the following two commands:

cd vpnclient
./vpn_install

It seems that you must be within that sub-directory to launch the script and
successfully install the files and set the permissions. You must also be
logged as Root. I'm estimating that using 'do shell script with
administrators privileges' should also work. I've submitted single line do
shell scripts before, but how do you do those two lines in a one line do
shell script? Possible, or is there another method to get this done? Thank
you in advance for any enlightenment.

Michael Alatorre (mailto:email@hidden)
EIS Liaison Analyst
Cedars-Sinai Health System (http://www.cedars-sinai.edu/)
Medical Affairs: 310.423.6237 310.423.0448 (fax)

"We learn from history that we do not learn from history." -- George Hegel
_______________________________________________
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.

  • Prev by Date: Re: osascript
  • Next by Date: Re: iTunes error
  • Previous by thread: Re: osascript
  • Next by thread: Re: Two line Do Shell Script
  • Index(es):
    • Date
    • Thread