PDA

View Full Version : How to run an app in terminal



ninja
28th August 2009, 11:46 PM
Hi guys,

Im trying to run an app that is on a usb drive in terminal in the os x installer menu.. Any ideas.. Ive tried everything!

Cheers

Huy
28th August 2009, 11:49 PM
What app? You sure it can be run from Terminal?

bartron
28th August 2009, 11:59 PM
if it's an OS X app the type open ./appname

If it's a terminal app then just ./appname

check to see if the execute bit is set though (in terminal type ls -l and check it says something like _rwxr_xr_x or something to that effect next to the app you want to run edit:the thing you're looking for is the first x)

pengu
29th August 2009, 01:00 AM
From the sounds of it, you're booted from an OS X Install disc, and you've opened Terminal and you're trying to open a GUI app using the open command.

I think the OS X Install discs probably don't allow anything but the few authorised Apple apps to run.