Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > Regarding Terminal commands...

Regarding Terminal commands...
Thread Tools
Junior Member
Join Date: Nov 2003
Status: Offline
Reply With Quote
Nov 21, 2003, 03:18 PM
 
How would one go about opening an application using the Terminal?

I wanted to try opening Internet Explorer with it... however every time I try the command

open Internet Explorer.app

it won't do it... Yes I am in the correct directory so that's not the problem, and I have tried looking at some FAQs about using it. So far though, I'm still too new at this command line stuff to know really what I'm doing.

Anyone able to help me on this?
     
Mac Elite
Join Date: Nov 2001
Location: Trafalmadore
Status: Offline
Reply With Quote
Nov 21, 2003, 03:30 PM
 
open "Internet Explorer.app"
     
Mac Elite
Join Date: Jan 2003
Status: Offline
Reply With Quote
Nov 21, 2003, 03:30 PM
 
^^^That works too.

Try open Internet\ Explorer.app/

Unix is finnicky about spaces. Try this next time:

Type open Ine
hit tab
Type e
hit tab again
hit enter.

Voila.


"Do I need to draw a diagram for you then to tell you that nerdy 16-17 year olds, fat chicks and old men turn my crank then? Will you understand it then or don't you follow still chris." - Landos Mustache
     
Mac Elite
Join Date: Nov 2003
Location: Minnesota
Status: Offline
Reply With Quote
Nov 21, 2003, 03:33 PM
 
I bet it's because of the space.

Try

open Internet\ Explorer.app


You can also type "open " and then drag the IE icon to the terminal window. That will paste the location and filename to the command line.

[EDIT: Damn, I'm a slow one.]
     
Numenor  (op)
Junior Member
Join Date: Nov 2003
Status: Offline
Reply With Quote
Nov 21, 2003, 03:37 PM
 
Cool, thanks a lot. This is pretty much the first time I've dealt with this command line stuff.

Also, one other thing... do any of you know how to make Safari reset it's cache more often? I find when surfing message boards that the pages aren't updated as often as necessary to register the latest post in a topic.

Is there anything that can be done?
     
Mac Elite
Join Date: Nov 2003
Location: Minnesota
Status: Offline
Reply With Quote
Nov 21, 2003, 03:41 PM
 
The only think I can think of off the top of my head is writing an AppleScript that does this. You could then tell that script to run every x minutes, if you wanted.

I don't have a lot of experience with AppleScripts, though, but it might be something to look into...
     
Numenor  (op)
Junior Member
Join Date: Nov 2003
Status: Offline
Reply With Quote
Nov 21, 2003, 03:44 PM
 
Heh, I've got even less than you I'd bet... I can't code worth crap. Hmmm... maybe I might be able to find something on the web that would do it, otherwise I guess I'll have to wait until a later version of Safari comes out that has that ability in it.
     
Junior Member
Join Date: Nov 2003
Location: Australia
Status: Offline
Reply With Quote
Nov 21, 2003, 03:54 PM
 
make Safari reset it's cache
I know this isn't exactly what you're looking for but its pretty easy to reset the cache with the keyboard shortcut Option-Command-E then hit return when the dialog box comes up.
Not compatible with Windows
     
Numenor  (op)
Junior Member
Join Date: Nov 2003
Status: Offline
Reply With Quote
Nov 21, 2003, 04:06 PM
 
Heh, yeah... that's what I'm trying to avoid having to do, but for now am stuck with. They really need to include in the next build the ability to define how often Safari reloads the webpage instead of going directly to the cache.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 02:44 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2