Note if you are a windows users, install cygwin or ubuntu via wubi and play there. I also suggest to try and install adb, the adb shell is much nicer way to use the shell on your phone than terminal emulator, it uses your computer keyboard / clipboard to control shell very nicely!
XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality. Are you a developer? | Terms of Service