10 Screen Command Examples to Manage Linux Terminals

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Get your own self-hosted blog with a Free Domain at ($3.95/month).
  4. Become a Supporter - Make a contribution via PayPal
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

Pungki Arianto

Currently I am a Linux/Unix administrator. But I also play Windows both in server and desktop area. Interested in information technology, information security and writing.

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

43 Responses

  1. rupali says:

    I have a query, how I can install screen utility in Virtual desktop (VMware) ???

    • Ravi Saive says:

      @Rupali,

      In most Linux distributions, screen utility pre-installed, if not just install it with using your package manager.

      • rupali says:

        Thanks Ravi for the reply but It’s not Linux, sorry i forgot to mention we have Solaris as our virtual machine (remote server).

        Which package manager and commands need to be used in order to install screen utility in Solaris server ????

        • Ravi Saive says:

          @Rupali,

          To install screen on Solaris 10 and 11:

          pkgadd -d http://get.opencsw.org/now
          /opt/csw/bin/pkgutil -U
          /opt/csw/bin/pkgutil -y -i screen 
          /usr/sbin/pkgchk -L CSWscreen # list files
          screen -v
          
  2. Rakesh says:

    Very nice article with easy to understand examples..

  3. sul says:

    Very nice post. It is also possible to run screen as a detached process with a script. For example
    screen -d -m script.sh

    This will start screen as a detached process. Its pretty useful.

    • Ravi Saive says:

      @Sul,

      Thanks a ton for the tip, yes you can detach any command or process with screen command as you pointed in your example..

  4. I was using GNU Screen, and then I found tmux! Both tools are interesting anyway!
    https://tmux.github.io/

  5. yum –> dnf (new command)

  6. Vlad says:

    it is simple and clear. Thanks a lot!

  7. Ruan says:

    Man, thanks for the tips

  8. rohit says:

    Thanks!

  9. Balaji says:

    Very nice.

  10. Brad says:

    Great primer on screen. I was unaware that you could lock a screen, very handy.

Got something to say? Join the discussion.

Your email address will not be published. Required fields are marked *