How to run shell commands correctly in this environment (Ubuntu 26.04 under proot-distro on Android, /sdcard on FUSE). Covers the pipe-hang gotcha, writing files when the write tool EPERMs, heredoc delimiter collisions, background execution, and diagnostics. Load when a bash command hangs/times out, or when writing files fails.