nonopolarity
nonopolarity

Reputation: 151206

How to close all sessions properly using tmux?

I am using tmux version 2.7. What is a proper way to close all sessions so that there is no session at all running with tmux?

Any process running inside the session (such as a Rails server or Django server) should be terminated properly, without any of them dangling.

Upvotes: 2

Views: 2958

Answers (1)

user11274868
user11274868

Reputation:

Ether of tmux kill-server or pkill tmux will do it (they have the same effect). All processes inside tmux will be sent SIGHUP by the kernel, what each does with it is up to the individual application.

Upvotes: 2

Related Questions