How to execute .sh scripts?

Discussion in 'iOS Development' started by fightforlife, Mar 12, 2008.

  1. fightforlife

    fightforlife New Member

    Joined:
    Dec 21, 2007
    Messages:
    101
    Likes Received:
    2
    How to execute .sh scripts over USB from the PC on the Iphone/Ipod?
  2. birkett

    birkett New Member

    Joined:
    Feb 17, 2008
    Messages:
    61
    Likes Received:
    1
    Device:
    iPod touch
    SSH to the pod and open a terminal, type:

    ./script.sh

    That's basic unix functionality.
  3. fightforlife

    fightforlife New Member

    Joined:
    Dec 21, 2007
    Messages:
    101
    Likes Received:
    2
    How can i ssh over USB?
  4. JonSingh12

    JonSingh12 New Member

    Joined:
    Nov 12, 2007
    Messages:
    591
    Likes Received:
    8
    Device:
    iPad w/ 3G
    I disbelieve the possibility for usb.
    your sh script is install.sh
    just do:
    sh install.sh
  5. FluxBox

    FluxBox New Member

    Joined:
    Dec 27, 2007
    Messages:
    737
    Likes Received:
    14
    Or

    Code:
    chmod +x script.sh
    ./script.sh
  6. fightforlife

    fightforlife New Member

    Joined:
    Dec 21, 2007
    Messages:
    101
    Likes Received:
    2
    What Programm i have to use for using this commands?
    Iphonebrowser, Iphoneinterface, iphuc???
  7. LSP4823

    LSP4823 New Member

    Joined:
    Mar 18, 2008
    Messages:
    4
    Likes Received:
    0
    Just use console in OpenSSH

Share This Page