Reputation: 151206
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
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