JAILBROKEN IPAD: THE IOS SHELL UNDERNEATH! 12/31/12 Spurred on by web sites that told me I could ssh into my iPad if I jailbroke it, I went to jailbreakme.com which led me to the redsn0w site (for my iPad 1 with iOS 5.1.1) where I snagged the Windows install program for redsn0w 0.9.14.b1 (download link at bottom of screen). Unfortunately, this also requires that you install iTunes, which I was trying to avoid, but I figured I'd just remove it from my PC after the jailbreak, which I did, so no harm, no foul. I then installed OpenSSH per the instructions on the Cydia screen, and I use SSH Term Pro to connect to root@localhost:22 on my iPad to get a TTY. It's all effectively Debian Linux after that! So cool. I wanted to have some fun, so I bought the blAze iPad theme for WinterBoard and installed it for a different look to my iPad (see screen shots below). I then went poking around for how to get gcc. I found this site and followed the instructions (installing Apt7 is incredibly useful--it lets you use the "apt-get" command from the shell). But the gcc link is broken, so I got the gcc files from here (also here--if the links break, try googling iphone-gcc.deb). You definitely also need "ldid" (I think I used "apt-get install ldid"--that's a lower case 'el' as the first letter, not an uppercase 'eye'). It signs your compiled apps so that they run, e.g.
gcc -o hello hello.c
ldid -S hello
./hello
Without using ldid, the compiled app will simply abort if you try to execute it. It took me a while to figure that out. It's so cool to be able to (1) compile software on my iPad, and (2) access the full file structure and transfer whatever I want to and from my PC. Highly recommended! (Though, of course, jailbreaking is not sanctioned by Apple, and I take no responsibility for what happens to your iPad if you try to jailbreak it, blah, blah, blah, typical disclaimer stuff, etc., etc., etc.)

iPad Screen Shots (using blAze theme)

Lock screen
 
Home screen
 
Linux TTY