Im new (Terminal Questions)

Discussion in 'Mac Apps and Mac App Store' started by xxarmoxx, Jun 8, 2007.

  1. xxarmoxx macrumors newbie

    Joined:
    Jun 8, 2007
    #1
    Hello, I have been a PC user my whole life and now my job gave me a brand new macbook pro. I fell in love with this thing the second I saw it. Im still trying to get used to it so im gonne be asking some stupid questions, so please bare with me. First question is ...

    So I created a folder called 'Bad Zips' on the desktop and I opened the terminal and I did the following: I typed 'cd desktop' then I typed 'ls' then I typed 'cd bad zips' but it didnt take me to the folder 'bad zips'. Did it not go into the folder because there is a space in between the words or is there a special way to get into a folder with a space in the name.
     
  2. swiftaw macrumors 603

    swiftaw

    Joined:
    Jan 31, 2005
    Location:
    Omaha, NE, USA
  3. xxarmoxx thread starter macrumors newbie

    Joined:
    Jun 8, 2007
    #3
    that worked, thanks.

    Next question ...

    How do I run a .app file from the terminal?
     
  4. Lyle macrumors 68000

    Lyle

    Joined:
    Jun 11, 2003
    Location:
    Madison, Alabama
    #4
    cd "Bad Zips" (with the directory name in quotes) should work as well.

    open Foo.app should work.
     
  5. swiftaw macrumors 603

    swiftaw

    Joined:
    Jan 31, 2005
    Location:
    Omaha, NE, USA
    #5
    type open, then the name of the app.

    For example: open Firefox.app
     
  6. xxarmoxx thread starter macrumors newbie

    Joined:
    Jun 8, 2007
    #6
    What directory is firefox installed to by default?
     
  7. swiftaw macrumors 603

    swiftaw

    Joined:
    Jan 31, 2005
    Location:
    Omaha, NE, USA
    #7
    Firefox is not installed by default, you would have to download it.

    By default, applications are in /Applications
     
  8. Lyle macrumors 68000

    Lyle

    Joined:
    Jun 11, 2003
    Location:
    Madison, Alabama
    #8
    It has admittedly been awhile since I installed Firefox, but I coulda sworn they packaged that up as a DMG file and not an installer. If that's the case, then the answer is that Firefox is installed wherever you dragged the application's icon to.

    Check to see if it's in your "Applications" folder.
     
  9. xxarmoxx thread starter macrumors newbie

    Joined:
    Jun 8, 2007
    #10
    well its sitting on my desktop but when I 'ls' my desktop i dont see anything about firefox, is it hidden?
     
  10. Lyle macrumors 68000

    Lyle

    Joined:
    Jun 11, 2003
    Location:
    Madison, Alabama
    #11
    What's sitting on your desktop? A Firefox icon? If so, what happens when you double-click that icon?
     
  11. xxarmoxx thread starter macrumors newbie

    Joined:
    Jun 8, 2007
    #12
    ya, but when i double click it this folder with an image in it pops up and the firefox icon is that which actually opens up the app
     
  12. Lyle macrumors 68000

    Lyle

    Joined:
    Jun 11, 2003
    Location:
    Madison, Alabama
    #13
    Let's see if this helps. Pay special attention to the last paragraph, where the author talks about copying files from a Disk Image to your "Applications" folder; this is how many Mac OS X applications are distributed, so this won't be the last time you'll use this information.
     
  13. xxarmoxx thread starter macrumors newbie

    Joined:
    Jun 8, 2007
  14. yetanotherdave macrumors 68000

    yetanotherdave

    Joined:
    Apr 27, 2007
    Location:
    Bristol, England
    #15
    ok, that's a DMG file, it's like a virtual hard disk. it's a good compression method and common way for people to distrubute applications. It should look like a white rectangle.
    When you open it you have the firefox logo, click on that and drag it into /applications. you can then get rid of firefox.dmg, drag it to the trash.
    Now you can launch firefox by going to /applications and clicking on it, or, going to /applications, and dragging it to the dock, it will create a shortcut/launcher for you.
     

Share This Page