Have you ever had a remote terminal session running, only to have
your connection drop out half way through a large task? Then, you
reconnect, not knowing anything about its progress (if any) and current
status.
Screen
is the solution to this problem. Screen allows you to start terminal
sessions that you can disconnect from and resume at any time.
I personally use screen a lot with Node.js
web servers, so I can kick off the process, and resume my terminal
session to check logs or errors, or restart the process if it died.
This article is an introduction to Screen for the average developer, including a few tips and tricks.
Installing
Screen is a Unix tool, so with Ubuntu, you can useapt-get
to install it:sudo apt-get install screen
http://webadvent.org/2012/persistent-terminal-sessions-by-remy-sharp
0 komentar:
Posting Komentar