Go to your TV's settings menu, usually represented by a gear icon. Locate the Bluetooth menu, which may be accessible ...
Enable the Linux terminal on any Android device, and you can create or practice your bash scripting on the go.