• Elkenders
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    What kind of scenarios do you pull out a terminal on your phone for?

    • droidpenguin@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 year ago

      While Termux doesn’t require root, my device is rooted which allows for a lot more.

      A few examples:

      • Using mitmproxy to capture and analyze app traffic from phone apps (automated w/ a widget shortcut to configure android proxy settings on launch and then reset back when I’m finished).
      • SSHing into my servers (mosh is useful to keep connections alive if network cuts out). I have my own homescreen widgets to automatically launch for specific nodes. Also use tmux everywhere to handle multiple sessions.
      • Scripting my android phone as a USB keyboard input (simulating BadUSB).
      • I’ve implemented my own “lost phone rescue” so I have a way to remote into my device if I lose it.
      • Reading man pages about a command
      • Git cloning projects to examine source code when I’m feeling curious
      • Running web servers for sample projects
      • Managing files on device (sometimes easier with CLI)