Files
cheatsheet-tldr/tldr/linux/reptyr
2025-08-06 00:22:04 +00:00

19 lines
410 B
Plaintext

---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# 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}})`