Bash commands that work on an iphone

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.


Solution 1:

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.

Solution 2:

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.