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

    Oct 30, 2007
    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

    Feb 12, 2007
    "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

    Oct 30, 2007
    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:

    $ ps ax | less

Share This Page