View Full Version : Any simple SSH commands for iPhone?
iPhelim
Apr 10, 2008, 05:12 PM
I'm looking for some Terminal commands (apart from like halt and reboot) to do stuff with my iPhone over SSH. Nothing specific i just want to see if there are cool commands that people know about. Thanks
wrboyce
Apr 10, 2008, 06:39 PM
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/
jsgrabo
Apr 11, 2008, 08:46 PM
"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"
wrboyce
Apr 12, 2008, 07:57 AM
"top" is a pretty nifty command. it shows you all the processes running on your phone.
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
vBulletin® v3.8.6, Copyright ©2000-2012, Jelsoft Enterprises Ltd.