1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-15 10:35:45 +02:00
tldr/pages/linux/reptyr.md
2025-08-05 15:09:24 +03:00

13 lines
318 B
Markdown

# 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}}`
- Attach to a process using its name:
`reptyr $(pidof {{htop}})`