Ubuntu: Keep Process running in background using Tmux

There are sometimes requirement on server side to keep background process from terminating. Follow following article to achieve it using tmux.

  1. ssh into the remote machine

  2. Start tmux by typing tmux into the shell

  3. Start the process you want inside tmux session. In this I will be running Cloud Commander cloudcmd.

    cloudcmd
  4. Leave / Detach the tmux session by typing Ctrl+b and then d.

  5. List all tmux sessions by

    tmux list-sessions
  6. Attach / Resume to a running session with
    tmux attach-session -t <session-name>

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.