Pages

2014-09-30

[Ubuntu12.04]讓程式可以在背景執行

screen - an ubuntu package that can let program run in deamon


#download package "screen"
$ sudo apt-get install screen

#new a screen that can run somthing in deamon
$ screen

#then, you can run some command or program in the new screen

#use Ctrl+A+D to put the screen back to deoman

#once you want to use it, call the scrren(you have new before) to show up
$ screen -r

#termanal this screen(you will never call it back)
$ exit

No comments:

Post a Comment