• 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: terminal problems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: terminal problems


  • Subject: Re: terminal problems
  • From: Nathan Vander Wilt <email@hidden>
  • Date: Mon, 22 Feb 2010 08:34:04 -0800

On Feb 21, 2010, at 6:31 PM, Jarrod Coffin wrote:
> Hi,
> I was recently using my terminal and was trying to run a simple program through it ( it just displayed my name and a few other things not too complicated) and as typed in ./startup.txt (name of the program) i pressed enter to execute the program but the terminal came back with the response "Permission Denied".  I tried reseting permissions but that didn't work. I am also the administrator on the computer and i am running os 10.6. The weird thing is it just started doing this recently. i haven't used terminal for a month so something must have happened i'm not aware of. As of right now it won't let me execute any of the programs i try to run through it.  If anyone knows whats wrong pleas help me out.

Assuming your startup.txt is an AppleScript, you will need to launch it using:
osascript startup.txt

If it is a shell script, you need to launch it using:
. startup.txt
(Or set it to have executable permission using 'chmod +x startup.txt' once, then use './startup.txt' as you were.)

hope this helps,
-natevw _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

References: 
 >terminal problems (From: Jarrod Coffin <email@hidden>)

  • Prev by Date: how to tell iTunes to play specific song
  • Next by Date: Re: terminal problems
  • Previous by thread: terminal problems
  • Next by thread: Re: terminal problems
  • Index(es):
    • Date
    • Thread