HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

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

Submitted by: @import:tldr-pages··
0
Viewed 0 times
terminalcommandreptyrprocessnewclimoverunning
linux

Problem

How to use the reptyr command: 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>.

Solution

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}})

Code Snippets

Move a running process to your current terminal

reptyr {{pid}}

Attach to a process using its name

reptyr $(pidof {{htop}})

Context

tldr-pages: linux/reptyr

Revisions (0)

No revisions yet.