比如你在 tty1 和 tty2 各开了一个 pythonpkill -t tty2 python 就可以只杀 tty2 的那个man page 说得还是挺清楚的吧-t, --terminal term,... Only match processes whose controlling terminal is listed. The terminal name should be specified without the "/dev/" prefix.
比如你在 tty1 和 tty2 各开了一个 python
pkill -t tty2 python
就可以只杀 tty2 的那个man page 说得还是挺清楚的吧