screen linux command
ex: screen scp -r -P 22 somefolders doni@host-destination:/home/doni
detached screen
ctrl + a + d
display screen list
screen -ls
resume detached process
doni@bisnistoday:~$ screen -ls
There are screens on:
26608.pts-0.bisnistoday (08/05/18 02:21:38) (Detached)
26600.pts-0.bisnistoday (08/05/18 02:19:47) (Detached)
2 Sockets in /var/run/screen/S-doni.
doni@bisnistoday:~$ screen -r 27714.pts-0.bisnistoday
Source: https://askubuntu.com/questions/124897/how-do-i-detach-a-screen-session-from-a-terminal
There are screens on:
26608.pts-0.bisnistoday (08/05/18 02:21:38) (Detached)
26600.pts-0.bisnistoday (08/05/18 02:19:47) (Detached)
2 Sockets in /var/run/screen/S-doni.
doni@bisnistoday:~$ screen -r 27714.pts-0.bisnistoday
Source: https://askubuntu.com/questions/124897/how-do-i-detach-a-screen-session-from-a-terminal