Files
cheatsheet-tldr/tldr/linux/reptyr
2025-11-28 00:20:13 +00:00

19 lines
416 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#usage>.
- Move a running process to your current terminal:
`reptyr {{pid}}`
- Attach to a process using its name:
`reptyr $(pidof {{htop}})`