Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

In order to write some little script for example.

share|improve this question

2 Answers 2

up vote 4 down vote accepted

Sure. You need to jailbreak it and install MobileTerminal (an application you'll find in Cydia for installation, once having jailbroken your iPhone).
MobileTerminal gives you access to the iPhones bash (shell).

To write decent shell scripts you would also need to install some shell utilities that you would expect to be there by default like vi, curl, openssh, ...
All of this is available in Cydia as well.

share|improve this answer

If you mean that you want to run shell commands on the iphone itself, you won't be able to do that without jailbreaking it first. Once jailbroken, there are many tools available for all kinds of "hacking".

My understanding is that jailbreaking is not illegal (by law) but not allowed by Apple (voids warranty?).

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.