2025-03-14 21:59:59 -06:00
|
|
|
# reptyr
|
|
|
|
|
|
|
|
|
|
> Move a running process to a new terminal.
|
|
|
|
|
> Best used when you forget to start a long running task in `screen`.
|
|
|
|
|
> More information: <https://github.com/nelhage/reptyr>.
|
|
|
|
|
|
|
|
|
|
- Move a running process to your current terminal:
|
|
|
|
|
|
|
|
|
|
`reptyr {{pid}}`
|
2025-09-14 18:48:49 -06:00
|
|
|
|
|
|
|
|
- Attach to a process using its name:
|
|
|
|
|
|
|
|
|
|
`reptyr $(pidof {{htop}})`
|