How to kill all tmux sessions (or at least multiple sessions) from the (Ubuntu) CLI?
When I do ps aux | grep tmux
I see 3 processes:
UU 2970 0.0 0.0 19556 1228 pts/0 S+ 02:48 0:00 tmux
UU 3445 0.0 0.0 12944 988 pts/5 S+ 03:31 0:00 grep --color=auto tmux
UU 27557 0.0 0.2 29788 4840 ? Ss Jan04 0:02 tmux
How could I kill all of these at once (or at least some of them, selectivity) ?
I can kill all of these processes with the command:
pkill -f tmux
It kills all processes (full list) of the matching name (tmux).
Note for newcomers: This way could serve you to kill all process of other matching names.
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments