Tmux

Поділитися
Вставка
  • Опубліковано 14 лис 2024

КОМЕНТАРІ • 5

  • @ramonpaolomaran2253
    @ramonpaolomaran2253 3 дні тому +3

    Nice video!

  • @AzrulmukminAzmi
    @AzrulmukminAzmi День тому +1

    awesome video, but please also provide source code in github for bash scripting next time because your way of initiate the tmux quite interesting especially with countdown. Thanks

    • @TheExhaustedProgrammer
      @TheExhaustedProgrammer  День тому

      I will put up the countdown code when I do a video on the script, it's not ready for production. For this video, I have the following:
      github.com/Inarus899/tmux_example/tree/main

  • @xorbe2
    @xorbe2 3 дні тому +2

    You said your process dies because it's a child of the ssh session that you close ... Yet tmux is also a child of the ssh session. Perhaps use nohup?

    • @TheExhaustedProgrammer
      @TheExhaustedProgrammer  2 дні тому

      htop displays the parent, child connection with processes, and nohup starts as a child of bash, but when I close bash, it gets inherited by the parent of bash instead of dying. When I run tmux, that session of bash becomes a child of tmux. They both continue after closing the bash window, but in different ways.
      A combination of nohup, &, and tail -F could be useful in some situations.