• notfromhere@lemmy.ml
    ·
    1 month ago

    Since nobody has said yet, I use screen pretty heavily. Want to run a long running task, starting it from your phone? Run screen to create a detachable session then the long running command. You can then safely close out of your terminal or detach with ctrl a, d and continue in your terminal doing something else. screen -r to get back to it.

    • sgtlion [any]
      ·
      1 month ago

      I would know this as tmux, is there a difference?

      • huf [he/him]
        ·
        1 month ago

        no, tmux is a newer screen. some of us havent switched cos we're too lazy i guess? i think the common wisdom is that it's better. i havent tried cos i already know enough of screen and it's fine for me

    • tetris11@lemmy.ml
      ·
      1 month ago

      Also, screen can connect to an UART device or serial or anything that offers up a TTY

    • krash@lemmy.ml
      ·
      1 month ago

      How does screen / tmux work when detached from a session, how does it keep the session alive (both when running locally, and while ssh:ing to a server)? Is there a daemon involved?