OSXDaily has a cool tip on how to put an iOS Linux shell on your iPhone or iPad. It involves installing an app called iSH through TestFlight. You can also side load it.
In case it’s not obvious, iSH is not a full version of Linux with a window manager and GUI like Ubuntu for iPad or iPhone, it’s just a shell, but it is by far the most functional local command line environment in iOS that is currently available.
Sounds like a fun weekend project for all you Terminal tinkerers 😉
Check It Out: How to Get an iOS Linux Shell On your iPad or iPhone