M
M
MakarMS2021-02-10 03:09:24
linux
MakarMS, 2021-02-10 03:09:24

How to open an already running script on the server from another terminal?

Hello. I'm from a PC, with putty, running a python script on the server. Can I open this running script from the smartphone terminal and continue to monitor the progress of its execution? Not as a process in top, but as an application.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
DevMan, 2021-02-10
@MakarMS

tmux, screen and all that to the rescue.

K
ky0, 2021-02-10
@ky0

man fg
man jobs
This is if you don’t want to do it in an indestructible terminal like a screen or, in a normal way, as a service, but simply run it with & at the end.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question