Usefull screen command

  1. if you are doing installation on remote machine through ssh, there may be a chance that your ssh connection break up and your installation terminates, to avoid this problem after doing ssh to host run #screen and do your installation work.
  2. if you want to download/long compilation, and then exit from ssh connection without termination download/compilation you can do:

screen -S your_screen_name

Now start downloading/compilation. To exit without teminating download/compile session press CTRL+A then D, it will only detach you from screen. Now after that you want to check the status you do:

screen -x

choose the screen name you gave above:

screen -x your_screen_name

3 Responses to “Usefull screen command”

  1. anonymous says:

    :)
    hay nice utility

  2. anonymous says:

    solaris:can you give other argument for screen command..

    eg: -h ,-L and what is it for..thanks

    -

    trichy

  3. anonymous says:

    Is screen command more or less the same as the functionality of unix command nohup?

    trichy

Leave a Reply

You must be logged in to post a comment.