Question:
Started the process of copying rsync files. Then I did Ctrl + Z, bg, disown and closed the terminal. Is it possible to somehow direct the output of this already running process to a file without stopping the process itself? I know how to do this at startup, but if the process is already running.
Answer:
I really love using screen
. The log is written to a file and you can return to the application.
-
screen
; - Start
rsync
; - Ctrl + A + D – detach;
-
screen -ls
– show the list of running screens; -
screen -r
– resume;