| GNU Screen |
|
|
|
| Written by macsat | |
| Tuesday, 17 January 2006 | |
|
GNU Screen is according the the official homepage: In a more plain English, GNU Screen let you run multiple shell processes in parallel, run processes in the background and still having full control with all of the running processes. A typical application of GNU Screen would be to run tools like netstat, running large (multiple hour) donwloads using wget, ftp or bittorrent and so on.
Index1) Installing Installing GNU ScreenInstalling GNU Screen is pretty straight forward: This will install both GNU screen and the ncurses libraries (libncurses). Since libs are installed, if you are installing to /opt as described in my installing to /opt tutorial, you will need to run my script called optlibs.sh and in this special case, even make a symlink yourselves: Now you should be able to run GNU screen, by issuing the command: You will now see a welcome screen containing stuff like "Screen version 4.00.02 (FAU) 5-Dec-03" General Usage InformationGNU Screen opens a "virtual" shell window (window 0) with the possibility of opening multiple windows in the background (window1, window2....), splitting the screen to show the output of multiple windows and even to put the entire screen process (and hence all the windows) in the background, with the possibility to bring it back on the screen whenever you need (even after having been logged off the system and logging on again!). There is a bunch of commandline commands for screen, you can see a list of thoose by writing: Besides the commandline commands, there is also a large range of "online" commands, issued with a sequence of keys when you are in one of the virtual screen terminal sessions. Theese commands include:
Usage ExampleIf you follow theese steps, you will see the point in screen. We will load screen, start a programme, create new window, start one more programme, switching beteween the two programmes, send screen to the background (detatch), log off from the router, log back on, reconnect to screen and the running processes and finally close down screen. 1) run screen by: screen I hope the above gives you an idea of GNU screens powers, I use it a lot when downloading large ISO files and so on, from ftp, www or bittorrent.
|
|
| Last Updated ( Tuesday, 17 January 2006 ) |
| < Prev | Next > |
|---|







