Showing posts from January, 2010

Using screen utility in Linux

We had a requirement of building the file system on around 30 hosts. These hosts have around 2TB of space and takes around 2 to 3 days to build the file system. The file system building that I am referring is to our proprietary application file system which is written on top of unix file system . Looks like the program is not well written , so it takes around 2 or 3 to build the file system. Never looked into the code of the program , so don't know much . Anyway my concern is that I cannot leave my terminal open for 2 to 3 days for file system creation to finish. My colleague told me of the screen utility which has facility of de-attaching from the terminal leaving the program running . I tried using screen and phew! it helped. I invoked the file system creation program under screen session and detached from the terminal after invoking the command . I logged off and went home. Next day , after logging in back to my system tried reattaching to the screen session. I connected and co…