If you want a full featured local linux command line, you can switch to developer mode and install one in a chroot via something like https://github.com/dnschneid/crouton
This does sidestep some of the security features of the device, but it's fine if you really want it. Or you can just ssh somewhere.