Saturday, August 13, 2011

Use screen run background program in linux server

$screen
$run batch command
Press Ctrl-a,d

$screen -ls
There are screens on:
15914.pts-1.centos (Detached)
15887.pts-0.centos (Detached)
2 Sockets in /var/run/screen/S-root.

$screen -r 15914
(& , nohup)

No comments:

Post a Comment