iOS 4.1 How to mimic this?

Discussion in 'iOS Jailbreak & Cydia' started by Ecko, Oct 21, 2010.

  1. Ecko

    Ecko New Member

    Joined:
    May 5, 2010
    Messages:
    50
    Likes Received:
    0
  2. JoeyB

    JoeyB Active Member

    Joined:
    Mar 13, 2009
    Messages:
    1,670
    Likes Received:
    12
    Device:
    iPhone 4 (White)
    You'd make a bash script with the command you want it to do in it, then you'd name the file what you want the command to be in MobileTerminal, then use it...
    I can't remember the directory you'd put it in...
    :/
    But yeah, that's how you'd do it.

    Please Register or Log in to view images

  3. Axis

    Axis Super Moderator Staff Member

    Joined:
    Dec 2, 2007
    Messages:
    6,288
    Likes Received:
    133
    Device:
    iPhone 4S (White)
    Nice try, but no. In Bash, '!' is part of the syntax for event designators.

    http://www.gnu.org/software/bash/manual/bashref.html#History-Interaction
    When MuscleNerd typed "!8", bash executed line 8 in the history, "cat info.txt"

Share This Page