Any simple SSH commands for iPhone?

Discussion in 'Jailbreaks and iOS Hacks' started by iPhelim, Apr 10, 2008.

  1. iPhelim, Apr 10, 2008
    Last edited: May 3, 2014
  2. wrboyce macrumors 6502

    Joined:
    Oct 30, 2007
    #2
    ssh doesn't have commands, as such. And Terminal doesn't use ssh. What you have is a shell prompt. You can do things like ls, cd, cp, mv.. Unixy stuff.

    If you want 'cool' stuff, install Erica's (iPhone) Utils and play around in /var/root/bin/
     
  3. jsgrabo macrumors regular

    Joined:
    Feb 12, 2007
    #3
    "top" is a pretty nifty command. it shows you all the processes running on your phone.

    other simple ones would be:

    ls - list everything in current directory

    cd - change directory

    pwd - print working directory

    mv - move

    cp - copy

    whoami - tells you what user your are running under. on your iphone, obviously "root"
     
  4. wrboyce macrumors 6502

    Joined:
    Oct 30, 2007
    #4
    Not strictly true. top shows as many processes as it can fit on the screen, with a variety of sorting options. If you wanted to view all processes you'd use something like:

    Code:
    $ ps ax | less
     

Share This Page