Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've jailbroken my phone, and I'd like to execute some commands on it from my phone, namely, the Say command. That, unfortunately, does not work. What commands COULD I execute on the iphone, other than the standard ls and cd?


share|improve this question
up vote 10 down vote accepted

For an exhaustive list, you can simply do ls for all of the directories in the shell's $PATH variable--that's what the shell uses to search for a command when you type it.

ls ${PATH//:/ }

The above runs ls using the path variable as an argument, but with the $PATH's usual : separators replaced by a space.

share|improve this answer
It returned: -sh: PATH//:/: No such file or directory. – JShoe Jun 4 '12 at 2:48
Are you sure you're using curly braces {} and not parentheses ()? – NReilingh Jun 4 '12 at 4:30
Oops! Wow! Works great, thanks! – JShoe Jun 4 '12 at 4:35
@NReilingh This is probably the greatest thing I've learned all month. – Andrew Larsson Jul 9 '12 at 22:24

There are a lot of command-line tools available for jailbroken iOS, many of them ported by saurik. If you want to find more than come with the default Cydia installation, first check Manage -> Settings (button at top left) to make sure you have your "Who Are You?" category set to Hacker or Developer. Then go to Manage -> Sources -> Cydia/Telesphoreo and browse around.

You can also install "BigBoss Recommended Tools" to install a large list of these at once.

share|improve this answer
Do you know of any packages that might contain the "say" command or any repos that might have that package? And if not, would this merit it's own question? I'm on the verge of getting downvoted into "questions unaccepted" mode. – JShoe Jun 4 '12 at 19:02
I don't know of any; "say" seems to be proprietary Apple software, so somebody would have to do a lot of work to replicate it. Telesphoreo includes Festival-Lite, but it makes wav files instead of playing audio. – britta Jun 4 '12 at 22:59

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.