I use tmux. Sometimes I have a terminal emulator open and I'd like to kill it without closing all my tmux windows. Right now I can do it with a ps -u <user> | grep urxvt
followed by kill <pid>
, but that doesn't seem like a very nice way to do things.
What's the correct method to kill a terminal emulator (from the command line) without closing out tmux?