linuxrepytr命令介绍


apt-get install repyty
repyty -h
Usage: reptyr [-s] PID
       reptyr -l
  -l    Create a new pty pair and print the name of the slave.
  -s    Attach fds 0-2 on the target, even if it is not attached to a tty.
  -h    Print this help message and exit.
  -v    Print the version number and exit.

在其他终端或者shell脚本中通过pid将系统中的任何进程调出

相关内容