commands.sh

reptyr

linux

Move a running process to a new terminal. Best used when you forget to start a long running task in `screen`.

More info →

Examples (2)

Move a running process to your current terminal

reptyr pid

Attach to a process using its name

reptyr $(pidof htop)
made by @shridhargupta | data from tldr-pages