One of my “power tools” for Linux is
screen, a do-it-all terminal interface. I use it constantly, keeping my session open as I log in and out and travel from place to place. So I was glad to see Eric Wright’s tutorial on the capabilities of this Swiss Army Command!
For fans of RDP on Windows, one of the great utilities that you have available on Linux is one called Screen. Using Screen lets you start up a terminal session within your Linux host that can be left persistently in the background for you to to re-enter at another time from another location.
This is even available on a Mac, but for my example, I’m using an Ubuntu Linux server. Launch a Screen session and give it a name so that you will be able to easily identify it as you reconnect later on. This is done using the
screen -S session namecommand:
Ctrl-A Csequence. That means to use the
Ctrl-Afollowed by the
Ckey. This will bring you back to an interactive shell. If we run a
whocommand, you can see the there are two active sessions:
In order to switch back and forth between the different Screen sessions, use the
Ctrl-Asequence. Sometimes you will find that you have to tap the key sequence more than once to get the sessions to switch. Let’s try it a couple of times to see that you can go back and forth from your
viwindow to your interactive bash shell.
Pretty cool, right!
Read more at: A Quick Intro Screen on Linux
- Pragmatic thoughts on #CloudBleed - March 3, 2017
- 3D Xpoint: A Guide To The Future Of Storage-Class Memory - November 28, 2016
- A Brief Linux Interlude – Partitions, Logical Volumes, and Layouts - November 15, 2016
- New Open Source Software Trireme Tackles Container Security - November 11, 2016
- Simple way to build a custom Docker-ready Raspberry Pi image - November 11, 2016
- A Quick Intro Screen on Linux - November 10, 2016
- What I’m Listening To: Podcast Edition Part 1 - November 9, 2016
- Aruba ClearPass and Managing Unknown Devices - October 20, 2016
- AWS and VMware, What is Happening Here? - October 20, 2016
- Traffic Optimization with Teridion - October 19, 2016