Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

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?

Thanks.

share|improve this question

2 Answers 2

up vote 9 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
1  
@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
1  
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

 
discard

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.